This is the completed project for the graphql-node
path of "How to GraphQL".
- Open a terminal and run
npx prisma migrate dev
to generate the database and migrations. - Run
npx prisma generate
to generate the Prisma client. - Create a
.env
file at the root of the project and defineAPP_SECRET
. - Run the project with
node src/index.js
.