Skip to content

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

Notifications You must be signed in to change notification settings

UmanSheikh/Todo-WithAPI-Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks