Coursera Back-End-Developer-Capstone

Setup

  • Create virtual env using venv or pipfile

    • python3 -m venv venv
    • source venv/bin/activate (for ubuntu/Mac)
    • venv\Scripts\activate (for Windows)
  • Default DB used in sqlite3, If you want to use MySQL, uncomment the code from settings and update the required credentials.

  • Run migrations if using a new DB, or using MySQL.

Tests

  • To run tests, run following command: python3 manage.py test tests/

RunServer

  • python3 manage.py runserver

API Endpoints

  • Check readme.txt for more details