Table of Contents
Installation
- Install dependencies for the frontend.
cd frontend npm install
- Install dependencies for the backend.
cd mysite pipenv shell pipenv install
- Create a
.env
file in thebackend
directory with the following variables:DEBUG=True SECRET_KEY=your-secret-key
- Run migrations to create the database tables.
python manage.py makemigrations python manage.py migrate
- Create a superuser to access the admin interface.
python manage.py createsuperuser
Usage
-
Start the backend server.
cd mysite python manage.py runserver
-
Start the frontend server.
cd frontend npm start
-
Access the application at
http://localhost:3000/
. -
Access the backend admin interface at
http://localhost:8000/admin/
Technologies
- React
- Django
- HTML
- CSS
- JavaScript