- Install Node.js.
- Install the dependencies
npm install - Duplicate the
.env.examplefile as.envand fill in the values. - Run the development server:
npm run dev - Open http://localhost:3000 with your browser.
For more information on querying the database with Prisma, checkout Prisma Docs.
When you make changes to the database schema (/prisma/schema.prisma), you should sync the Prisma client with it. Run:
npx prisma db push
When you are happy with the schema and everything works, run:
npm run prisma:migrate
To view the data and play around with it, run:
npm run prisma:studio
To start on ngrok, run:
ngrok http --url=strong-cute-platypus.ngrok-free.app 3000