Skip to content

๐Ÿ›  A sample REST API starter made using Django and Django Rest Framework

Notifications You must be signed in to change notification settings

ermal-abiti/django_rest_starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Django Rest Framework - Project Starter (+ jwt auth)

django-logo rest-logo

Create a new Python Virtual Environment

python3 -m venv /path/to/new/env

Change to the new environment by running the following command:

source {/path/to/new/env}/bin/activate

Install the necessary libraries

Head into the project folder and run the following command:

pip install -r requirements.txt

Make and run migrations

cd src/
python manage.py makemigrations
python manage.py migrate

Create a superuser

python manage.py createsuperuser --username admin --email [email protected]

Start the server

python manage.py runserver

About

๐Ÿ›  A sample REST API starter made using Django and Django Rest Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages