/django-rest-sample

Django REST Framework implementation

Primary LanguageJavaScriptMozilla Public License 2.0MPL-2.0

django-rest-sample

Django REST Framework implementation

Installation

  1. Install Python 3.x
  2. Install virtualenv
  3. Make environment by run virtualenv -p python env
  4. Install python packages by run pip install -r requirements.txt
  5. Go to tutorial directory to run app:
    • Run DB Migration: python manage.py migrate
    • Run server: python manage.py runserver
    • Run Django Shell: python manage.py shell
    • Run Test: python manage.py test {app-name}