/Todo-WithAPI-Django

This is a short Skill Practice using Django Rest Framework and API Calls

Primary LanguagePython

Todo with Apis

In this project, I used Django Rest Framework for api calls and performe CURD operations.

Running the project

Django Version: 5.0 djangorestframework Version: 3.14.0

make sure you have Django and djangorestframework installed in your system. Then run

python manage.py runserver

in the terminal where manage.py file is located

API Reference

Get all items

  GET /api/view/
Parameter Type Description
None None None

Create Todo

  POST /api/create/
Parameter Type Description
Item Name string Required. Name of item to Create or Add

Update Todo

  POST /api/update/{$id}
Parameter Type Description
Item ID integer Required. ID of item to Update Status

Delete Todo

  POST /api/Delete/{$id}
Parameter Type Description
Item ID integer Required. ID of item to Delete Todo

Author