This sample project uses sqlite as the relational database. To use a different database, check the Prisma docs.
- Install dependencies:
npm install - Generate TypeScript type definitions for the GraphQL schema:
npm run generate:typings - Create sqlite database and create tables:
npx prisma db push - Start server:
npm run start:dev
When the application is running, you can go to http://localhost:3000/graphql to access the GraphQL Playground. See here for more.