smalldb / smalldb-rest-demo
Smalldb-REST usage example
dev-master
2016-07-21 20:13 UTC
Requires
- smalldb/smalldb-rest: >=0.4
This package is auto-updated.
Last update: 2024-12-17 11:00:06 UTC
README
Example application of Smalldb REST API. This example should be able to provide complete backend for small single page applications.
The repository contains only script to build the example from current versions of required libraries (see Setup and Usage below).
Setup
- Checkout the repository.
- Run
./import-example.php
(orphp import-example.php
) from command line. - Make
database.sqlite
writable for web server.
Usage
The entry point of REST API is api-v1.php
. See
documentation of smalldb-rest
library
for examples how to use the API.
License
Import script is licensed under Apache 2.0 License.
The imported example, excluding imported libraries, is public domain with no warranty of any kind. The example is meant as base of your development, so feel free to use it as you wish.