Skip to content

w01fgang/next-mui-starter

Repository files navigation

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

Releases

No releases published

Packages

No packages published