Todos example API using Slim Framework 3 and SQLite 3.
To install dependencies:
composer install
To create the database:
composer db
To run the application in development mode:
composer start
To run the test suite:
composer test
- GET
/todo
- GET
/todo/{id}
- POST
/todo
: fields:subject
andstatus
- PUT
/todo/{id}
: fields:subject
andstatus
- DELETE
/todo/{id}
- GET
/todo/{id}/category
- POST
/todo/{id}/category/{category_id}
- GET
/category
- GET
/category/{id}
- POST
/category
: fields:name
- PUT
/category/{id}
- DELETE
/category/{id}