This project is the source code for the tutorial series of three parts about building a Fullstack Web application With TypeScript, PostgreSQL, Next.js, Prisma & GraphQL.
Here is what you will learn:
- Set up Prisma on a Next.js project to connect to PostgreSQL database
- Define database models with Prisma
- Define relationship with Prisma (Many-to-Many)
- Execute migration and seed your database with Prisma
- Explore your database with Prisma Studio
- Create a GraphQL schema
- Set up a GraphQL server on Next.js
- Inject Prisma client in the GraphQL context
- Use GraphQL code-first approach using Pothos
- Set up Apollo client on Next.js to consume a GraphQL API
- Implement the pagination on a GraphQL API