Todo List API create using Laravel framework
I created todo list app with Laravel, and this is the API as the backend. This project still on progress, always update this project. Thanks
How to install this service
- Clone this repository in your local
- Enter into project directory and run
composer install
in your console - Run
php artisan migrate
to running the migration database - Then run
php artisan serve
to running the local server
API Endpoint
GET api/v1/activities
(Get all activities details)
GET api/v1/activities/{activity_id}
(Get activity by ID)
POST api/v1/activities
(Create new activity)
POST api/v1/activities/{activity_id}/items
(Create new item for an activity)
PATCH api/v1/activities/{activity_id}
(Update an activity)
PATCH api/v1/activities/{activity_id}/items/{item_id}
(Update an item from an activity)
DELETE api/v1/activities/{activity_id}
(Delete an activity)
DELETE api/v1/activities/{activity_id}/items/{item_id}
(Delete an item from an activity)
I have deployed this API service into Heroku, you can access this endpoint
https://lit-atoll-41704.herokuapp.com/api/v1/activities