A simple Slim Framework API.
- slim3 for a Slim 3 version with OAuth and a website.
- slim4 for a Slim 4 version with both HTTP and a GraphQL APIs.
-
Run the migrations:
$ composer migrate -
Load the
api/db/fixtures/default.sqlinto 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: