Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.2 KB

File metadata and controls

44 lines (29 loc) · 1.2 KB

nodejs-react-monorepo-starter-kit

Template for modular projects using React, Node.js, Lerna and GraphQL.

For an updated version of this templates, please head over to Goldstack and have a look at the Next.js Template.

Build

git clone git@github.com:mxro/nodejs-react-monorepo-starter-kit.git
cd nodejs-react-monorepo-starter-kit
lerna bootstrap

Development Environment

To spin up a local development server with hot reload, run:

yarn build
yarn watch

This will perform hot reloads on the main server component server-main and React app client-main. To enable hot reloading on other components, also run the following in a different terminal window:

yarn watch-componentss

Deploy

To run production version

yarn build
PORT=8081 yarn serve

Based on