This is a Next.js live coding interview project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
This project includes GraphQL client configured for fetching public Github content. Find it in model/graphql-client.js
. Credentials are passed via environment variables.
Useful references:
- NextJS documentation https://nextjs.org/docs/basic-features/pages
- Github GraphQL API explorer https://docs.github.com/en/graphql/overview/explorer (you'll need to sign up via your Github account to use it)