Starter Advanced Project : GraphQL Next.js TypeScript & MongoDb (CRUD)
Github Repository
https://github.com/idurar/generic-graphql-crud-next-js-mongodb
Install
yarn Install
Setup & connect to your MongoDb Database
1) change this file name .env.local.tmp to .env.local
2) open .env.local and paste your MongoDB url here : MONGODB_URI="your-mongodb-uri"
Generate schema and Type
yarn generate
Getting Started
First, run the development server:
yarn dev
Try your Graphql
http://localhost:3000/api/graphql
Top comments (0)