juangsalaz / todolist-api

Create a todo list API using Laravel Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Clone this repository in your local
  2. Enter into project directory and run composer install in your console
  3. Run php artisan migrate to running the migration database
  4. 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

About

Create a todo list API using Laravel Framework


Languages

Language:PHP 96.4%Language:HTML 3.0%Language:Vue 0.6%