/testrest

Primary LanguagePython

full-drf-tutorial

A todo app with user authentication

Tutorial Playlist Link

How to setup locally

Requirements

  • Python3.7
  • pip3
  • virtualenv

setup instructions

  • pull the project using git
   git clone https://github.com/CryceTruly/django-rest-api.git
  • create a virtualenv using virtualenv
   python -m pip install --upgrade pip
   pip install virtualenv
   virtualenv venv_name
  • activate it
   source venv_name/bin/activate
  • or activate Windows
   venv_name/bin/activate.bat
  • install dependencies from the requirements.txt file
   pip install -r requirements.txt
  • migrate the database tables
   python manage.py migrate
  • start a development server using
   python manage.py runserver

djangoresttodo