Skip to content

Releases: p2p-app/p2p-rest

Stable RESTful Backend

31 Oct 19:43
Compare
Choose a tag to compare
  • Finalized minor updates and bug fixes
  • Effective tutor location searching formula implemented
  • Functional profile picture uploads and GET
  • WebSockets not implemented yet

Modular REST API

30 Oct 10:10
Compare
Choose a tag to compare
  • Modular REST API
  • Better structured, easier to add more features
  • Model:
$api['endpoint'] = [
    '_METHOD' => function ($request_data, $endpoint) use (&$api, $db) {
        // endpoint logic
    },
    'subendpoint' => [
        '_METHOD' => function ($request_data, $subendpoint) use (&$api, $db) {
            // subendpoint logic
        }
    ]
];
  • Additional features for "initialization functions" to be run before entire endpoints are accessed

Single-script REST API with basic functionality

29 Oct 22:38
Compare
Choose a tag to compare

v1.0

  • Single-script REST API with basic functionality
  • Simple web interface for testing
  • JWS supported with Composer modules
  • Uses Dolphin to interact with MySQL database