This is a Next.js project for Medium series Next.js + Typescript + GraphQL + MongoDB = ❤️.
First, install all the dependencies:
npm install
# or
yarn
Then, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result. The GraphQL Playground console is available at http://localhost:3000/api/graphql.
To generate Typescript files from GraphQL schema run following command:
npm run generate
# or
yarn generate