Table of Contents

Installation

  1. Install dependencies for the frontend.
    cd frontend
    npm install
  2. Install dependencies for the backend.
    cd mysite
    pipenv shell
    pipenv install
  3. Create a .env file in the backend directory with the following variables:
    DEBUG=True
    SECRET_KEY=your-secret-key
    
  4. Run migrations to create the database tables.
    python manage.py makemigrations
    python manage.py migrate
  5. Create a superuser to access the admin interface.
    python manage.py createsuperuser

Usage

  1. Start the backend server.

    cd mysite
    python manage.py runserver
  2. Start the frontend server.

    cd frontend
    npm start
  3. Access the application at http://localhost:3000/.

  4. Access the backend admin interface at http://localhost:8000/admin/

Technologies

  • React
  • Django
  • HTML
  • CSS
  • JavaScript