Example monorepo (API and client in a single repo) app using Prisma, GraphQL, Next.js, React and Apollo Client. Unit and integration testing using Jest and react-testing-library.
Tech stack - API
- Node.js, Express.js
- GraphQL (Apollo Server)
- Prisma.io
- Jest
- Yup for validations
- graphql-shield for permissions
Tech stack - Client
- Next.js, React (useState, useContext, useEffect)
- Apollo Client
- react-apollo-hooks
- Formik
- Jest
- react-testing-library
Features:
- JWT authentication
- Uses Apollo custom schemaDirectives for auth, validations.
Services
- Emails - Sendgrid
- Images - Cloudinary