Create new branch from master
when adding new features or changes, then create pull request and ask for code review
Requirements: Node.js, Postgres
npm install
- Update
DATABASE_URL
in.env
file with credentials to your local empty DB in Postgres. Format:postgresql://user:password@localhost:port/db_name?schema=public
- Run
npx prisma migrate dev --name init
- Check if the migration was sucessful (Your local DB should have some tables now)
- Run
npx prisma db seed
to fill new generated tables with sample data - Run server by
npm run dev
- Check if server is running