Skip to content

Shubhangi2999/Django_rest_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django_rest_api

Pre-requisites: Python3, pip

Install

1- django

2- djangorestframework

After installing the above dependencies, through terminal go to the project directory and run these commands:

1- python manage.py makemigrations

2- python manage.py migrate

3- python manage.py runserver //to start the server

Now, open localhost:8000/webapp/api/partners in a browser.

POST data in this format:

{
  "f_name": "abc",
  "l_name": "xyz",
  "email": "xyz@gmail.com",
  "contact": "8313115029",
  "age": "21",
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages