Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

ToDo API example using PHP Slim 3, Laravel Eloquent and SQLite 3.

Notifications You must be signed in to change notification settings

joseluisq/slim3-todos-example

Repository files navigation

slim3-todos-example

Todos example API using Slim Framework 3 and SQLite 3.

Usage

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

API

Todo

  • GET /todo
  • GET /todo/{id}
  • POST /todo : fields: subject and status
  • PUT /todo/{id} : fields: subject and status
  • DELETE /todo/{id}
  • GET /todo/{id}/category
  • POST /todo/{id}/category/{category_id}

Category

  • GET /category
  • GET /category/{id}
  • POST /category : fields: name
  • PUT /category/{id}
  • DELETE /category/{id}

About

ToDo API example using PHP Slim 3, Laravel Eloquent and SQLite 3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published