Repo to try out new tech stack: fastify, mercurius, typegraphql, prisma
- Have a running instance of PostgreSQL; Update the
.env
with the connection string for db. yarn
- Install Required Dependenciesyarn prisma generate
- Generates@prisma/client
and@generated/type-graphql
dependencies based on theschema.prisma
file.yarn dev
- Run Migrations on DB and start application using nodemon + ts-node
The /playground
endpoint serves a GraphQL playground for testing out GraphQL requests.
Running yarn prisma studio
will start a server serving Prisma Studio, a GUI for the DB.