Slim Bookshelf API
A simple Slim Framework API.
Branches
- slim3 for a Slim 3 version with OAuth and a website.
- slim4 for a Slim 4 version with both HTTP and a GraphQL APIs.
Install
-
Run the migrations:
$ composer migrate
-
Load the
api/db/fixtures/default.sql
into your database:$ cat api/db/fixtures/default.sql | sqlite3 api/db/bookshelf.db
-
Run the API:
$ php -S 0.0.0.0:8888 -t public/
-
Access the API: