Backoffice application for Code in the Dark ⚡
- Install the deps:
yarn
- Copy
.env.example
file to a new.env
file:
cp .env.example .env
- Run migrations to create the database:
yarn prisma migrate dev
- Run seed to fill up the database:
yarn seed
- Run the dev server:
yarn dev
If you want to check the data in the database, you can run prisma studio
:
yarn prisma studio
To re-run the seed, first delete the file prisma/dev.db
, then run steps 3
and 4
again.
Follow our guide.
MIT