Express React boilerplate with lerna
It is a Boilerplate starter kit for Javascript application with Express in backend and React (Typescript) in frontend bootstrapped with lerna.
front-end and back-end both uses ESlint
for JavaScript common syntax errors and Prettier
for style issues and automatically reformats your code to ensure consistent rules are being followed.
lerna
globally -> npm install -g lerna
git clone https://github.com/rekrus/express-react-lerna.git
lerna bootstrap
.env
file in client package -> cp .env.example .env
PORT=5000
and SKIP_PREFLIGHT_CHECK=true
and CI=true
CRA issue)npm run start
There you go
npm run start
Runs both frontend and backend packages in development
mode.
npm run lint
Runs lint command in both server and client package.
npm run lint:fix
Runs lint fix command in both server and client package.