Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashishkapoor/django-rest-framework
Learning Django Rest Framework
https://github.com/ashishkapoor/django-rest-framework
Last synced: about 1 month ago
JSON representation
Learning Django Rest Framework
- Host: GitHub
- URL: https://github.com/ashishkapoor/django-rest-framework
- Owner: AshishKapoor
- Created: 2024-03-13T07:16:30.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-14T06:31:53.000Z (10 months ago)
- Last Synced: 2024-03-14T12:49:47.087Z (10 months ago)
- Language: Python
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-rest-framework backend
### Deployment References
1. Gunicorn - https://docs.gunicorn.org/en/stable/configure.html## For Migration to Postgres
```
$ pip install psycopg2
```## Run locally
http://0.0.0.0:8000
## Some useful commands
```
Django-admin startprojectpython manage.py runserver (can be put in config)
python manage.py startapp
# add to database
python manage.py migrate# create migration only
python manage.py makemigrationspip3 install djangorestframework
python manage.py createsuperuser
# generate requirements.txt file
pip freeze > requirements.txt```