A boilerplate that will help you to build a GraphQL server with authentication and subscription using Node.js, Express, Prisma(MySQL DB), GraphQL, Apollo Server, JWT(Jose), and GraphQL Subscriptions.
- NodeJS Version
nvm use 16.14.0
- Clone the repository and install the dependencies.
git clone https://github.com/SOMONSOUM/graphql-apollo-server-v4-prisma.git
cd graphql-apollo-server-v4-prisma
yarn install
- Run Redis(Optional)
docker-compose up -d
- Run Dev Server
yarn dev