Template for modular projects using React, Node.js, Lerna and GraphQL
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
packages
.gitignore
README.md
lerna.json
package.json
yarn.lock

README.md

nodejs-react-monorepo-starter-kit

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

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