Next.js + GraphQL + Typescript frontend boilerplate.
git clone ...
npm install
cp .env_example .env
- Edit
.env
npm run gen
npm run dev
Production build:
npm run build
npm start
Run npm run gen
after every GraphQL API Schema changed or after ./graphql/*.graphql
files are modified
Build info page available at /_info
: http://localhost:3000/_info