Learn to create a RESTful API with python & django!
this repository to learn and completed task in Google Code-in
#installing
clone repository
git clone https://github.com/gagassss/django-rest-framework-tutorial
cd django-res-framework-tutorial
setup virtual environment
on linux : python3 -m venv env | on windows : python -m venv env
start virtual environment
on linux : source env/bin/activate | on windows : env\Scripts\activate
Install django and Django REST framework
pip install django
pip install djangorestframework
run the server
python manage.py migrate
python manage.py runserver
create super user
python manage.py createsuperuser --email [email protected] --username user