An open API service indexing awesome lists of open source software.

https://github.com/sajeebchakraborty/advance_todo_api_laravel

Create a simple API that allows users to create, view, edit, and delete to-do lists. The API should be built using the Laravel framework and MySQL database.
https://github.com/sajeebchakraborty/advance_todo_api_laravel

crud-application laravel-api laravel-rest-api laravel-restful-api laravel-todo restful-api todo-api

Last synced: 3 months ago
JSON representation

Create a simple API that allows users to create, view, edit, and delete to-do lists. The API should be built using the Laravel framework and MySQL database.

Awesome Lists containing this project

README

        

API Documentation
-------------------

View All todo
-------------------
URL - localhost:8000/api/todo/gets


Request - GET


Params - None


![Screenshot (506)](https://github.com/SajeebChakraborty/Advance_Todo_Api_Laravel/assets/48250220/10a348aa-3ac1-40d7-840b-e4953ed46d3e)




View Individual todo
-------------------
URL - localhost:8000/api/todo/get/{id}


Request - GET


Params - None


Example - localhost:8000/api/todo/get/1


![Screenshot (507)](https://github.com/SajeebChakraborty/Advance_Todo_Api_Laravel/assets/48250220/965dbe40-400d-4062-ba49-73308e2fa229)




Create todo
-------------------------
URL - localhost:8000/api/todo/store


Request - POST


Params - name,content


Example - localhost:8000/api/todo/store?name=trirhd&content=wefwgfewgqewrgg


![Screenshot (508)](https://github.com/SajeebChakraborty/Advance_Todo_Api_Laravel/assets/48250220/b1bdaac2-df5b-4fa9-8c9b-a82a647b30f7)




Update todo
-------------------------
URL - localhost:8000/api/todo/update/{id}


Request - PUT


Params - name,content


Example - localhost:8000/api/todo/update/1?name=Extra_Task&content=ewsd


![Screenshot (509)](https://github.com/SajeebChakraborty/Advance_Todo_Api_Laravel/assets/48250220/cc895ebd-657c-4416-9334-0908d451e414)




Delete todo
-------------------------
URL - localhost:8000/api/todo/delete/{id}


Request - DELETE


Params - None


Example - localhost:8000/api/todo/delete/3


![Screenshot (510)](https://github.com/SajeebChakraborty/Advance_Todo_Api_Laravel/assets/48250220/c703f9d5-8333-4110-a939-16b96a29d95f)