Skip to content
/ litefront Public template

Next.js + GraphQL typescript frontend boilerplate

License

Notifications You must be signed in to change notification settings

uxname/litefront

Repository files navigation

Vite + GraphQL + Typescript frontend boilerplate.

Get started

One-liner:

  • npx degit uxname/litefront my-app && cd my-app && git init && git add . && git commit -m "Initial commit" && npm install && cp .env.example .env && npm run gen && npm run start:dev

Step by step:

  • npx degit uxname/litefront my-app
  • cd my-app
  • git init && git add . && git commit -m "Initial commit"
  • npm install
  • cp .env.example .env
  • Edit .env
  • npm run gen
  • npm run start:dev

Production build:

  • npm run build
  • npm start:prod

Types generation

Run npm run gen after every GraphQL API Schema changed or after ./graphql/*.graphql files are modified

About

Next.js + GraphQL typescript frontend boilerplate

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages