This is a complete project in itself in which I used Django and djangorestframework to create RESTfull API.
- django complete setup include
- django project
- django app
- screen shot folder
- requirements.txt
- Python
- Django
- django-rest-framework
- dbsqlite
- Git
- Github
- Django built-in user authentication
- API CRUD operation
- dbsqlite database
- modal impliments
-
clone the project from Github.
- Git clone https://github.com/Kamalrathi49/django-RESTfullapi.git
- cd project
-
Start virtual environment
- python -m venv env
- window
- venv\scripts\activate
- linux
- source venv\bin\activate
-
Install Django packages used in this project
- pip install -r requirements.txt
-
Run makemigrations and migrate
- python manage.py makemigrations
- python manage.py migrate
-
Run the Django Server
- python manage.py runserver
-
after sometime open https://localhost:8000 in your chrome