Simple todo API
- Docker
- docker-compose
> make up
> make migrateAfter that, API is available at http://localhost:8080
Run this command in the application directory to run the test suite, make sure Application is running
> make testPlease see the Application routes app/routes.php
Get all projects
> http http://localhost:8080/projectsCreate a project
> http -f POST http://localhost:8080/projects name=testEdit the project
> http -f PUT http://localhost:8080/projects/1 name=test1Remove the project
> http DELETE http://localhost:8080/projects/1Get all tasks
> http http://localhost:8080/tasksCreate a task
> http -f POST http://localhost:8080/tasks name=test description=test-task project=1 'tag[]'=tag1 'tag[]'=tag2Edit the task
> http -f PUT http://localhost:8080/tasks/1 name=test1Remove the task
> http DELETE http://localhost:8080/tasks/1The http tool
That's it!