# Create a .env.local file
cp .env.local.example .env.local
cd dj-api
# Download necessary packages
poetry install
# Make database migrations
poetry run ./manage.py makemigrations
poetry run ./manage.py migrate
# Create admin superuser
poetry run ./manage.py createsuperuser
# > ..<input a username, email, and password>
Open up another terminal (tab or window) and keep your backend running.
# In the new terminal cd into the next-app directory
cd next-app
# Install all dependencies
yarn install
# Start your frontend app
yarn dev
Opening http://localhost:3000/ in your browser should now show your frontend Next.js app.