Releases: p2p-app/p2p-rest
Releases · p2p-app/p2p-rest
Stable RESTful Backend
Modular REST API
- 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
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