Skip to content

Latest commit

 

History

History
 
 

README.md

Prisma GraphQL schema first sample

This sample project uses sqlite as the relational database. To use a different database, check the Prisma docs.

Installation

  1. Install dependencies: npm install
  2. Generate TypeScript type definitions for the GraphQL schema: npm run generate:typings
  3. Create sqlite database and create tables: npx prisma db push
  4. Start server: npm run start:dev

Graphql Playground

When the application is running, you can go to http://localhost:3000/graphql to access the GraphQL Playground. See here for more.