Skip to content

ZainAli121/Django-Rest-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-Rest-Framework

Task Manager API is a Django REST framework application that allows users to perform CRUD operations on tasks.

Installation

  1. Clone the project's repository to your local envirement:

    $ git clone https://github.com/ZainAli121/Django-Rest-Framework.git
    
  2. Create the virtual envirement:

    python -m venv venv
    
  3. Activate virtual envirement:

    venv\Scripts\activate
    
    
  4. Run the following command to install all dependencies

    python -m pip install -r requirements.txt
    
  5. Navigate to project directory:

    cd Backend
    
    cd Rest
    
  6. Start server with following command:

      python manage.py runserver
    
  7. Click on http://127.0.0.1:8000/ to get access of website.

API Endpoints

  • For Reading and creating tasks, access the follwoing endpoint:
        http://127.0.0.1:8000/tasks/
    
  • For Updating and deleting tasks, access the follwoing endpoint:
        http://127.0.0.1:8000/tasks/id/
    

id can be replaced with your desired any avaliable id, e.g, 1, 2, 3 and so on.

Contributions

  • Feel free to help and contact me, I would love to collabrate with like minded individuals.
  • Your contributions are always appreciated.
  • You can fetch these API's if you are frontend developer and can turn into a really cool FullStack application or you can help me in modifying and creating more API's for the application

Contributors

  • Zain Ali

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages