This just simple Node.js backend app show how to getting started with Prisma and PostgreSQL using Typescript.
- Add your DATABASE_URL in .env file:
DATABASE_URL="RBRACE_TO_YOUR_POSTRGRESQL_URL"
- Run this command:
npx prisma migrate dev
- And run this command:
npx prisma generate
- And run this command to add default data to database:
npx prisma db seed
- If you want to run the project run this command:
npm run dev