ExQDev / next-mui-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next MUI starter

Stack

Structure

  • pages - entry points for pages, no components should be here
    • api - lambda functions handled by Next.js
  • components - components are here
  • public - static files (images, etc.)
  • flow-typed - Flow type definitions
  • lang - Translation files
  • utils - Utils and helpers
  • schema - GraphQL schema definition
  • scripts - development scripts
  • jest - jest configuration files (TODO)

Development process

Start in dev mode

yarn dev

React relay uses statically compiled graphql queries for the performance reasons, so to compile them run:

yarn relay

to keep them up to date continuously run:

yarn relay:watch

You will need watchman for that.

Build

yarn build

Run built app locally

yarn start

About


Languages

Language:JavaScript 99.9%Language:HTML 0.1%