Skip to content

React (typescript) and express boilerplate application bootstrapped with lerna.

License

Notifications You must be signed in to change notification settings

rohit-ambre/express-react-lerna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express React Boilerplate

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 code styling issues and automatically reformats your code to ensure consistent rules are being followed.


Getting Started ⚡

  1. install lerna globally -> npm install -g lerna
  2. Clone the repo -> git clone https://github.com/rohit-ambre/express-react-lerna.git
  3. Install dependencies -> lerna bootstrap
  4. Create .env file in client package -> cp .env.example .env // (sets react PORT=5000 and SKIP_PREFLIGHT_CHECK=true and CI=true CRA issue)
  5. Start the app -> npm run start

There you go 🎉


Available scripts 📄

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.


License ✅

The MIT License