Skip to content

gyolkin/drf-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django REST Framework boilerplate

Includes djoser, SimpleJWT, django-filter and django-cors-headers.

Getting started

  1. Clone the repository

    git clone https://github.com/gyolkin/drf-boilerplate.git
  2. Access the project's folder

    cd drf-boilerplate
  3. Make it your own repository

    rm -rf .git
    git init
  4. Initialize virtual environment

    py -m venv env
  5. Activate the virtual environment

    . env/Scripts/activate
  6. Install dependencies

    pip install -r requirements.txt
  7. Start the development server

    python manage.py runserver
  8. Prepare for production

    python manage.py collectstatic

Good luck with your project!