Skip to content

devops-sunny/react-boilerplate

Repository files navigation

REACT-PWA Boilerplate

Quick Start

Install dependencies

npm install

OR

yarn

To start the project run following command in your terminal:

npm start

OR

yarn start

To build the project run the following command in your terminal:

npm run build:prod

OR

yarn run build:prod

To build and run the project run the following command in your terminal:

npm run start:prod

OR

yarn run start:prod

To run server of already build project run the following command in your terminal:

npm run serve:prod

OR

yarn run serve:prod

ENV setup.

Copy content from .env.example & paste on new file .env

Rules for translation

  1. Word which are reusable should be in global.json
  2. Long sentence should be in appropriate translation json file ( we have created translation JSON file respective to main components)

Follow below steps to fix error

  1. Copy content from .env.example & paste on new file .env
  2. do npm i
  3. if still not work remove node_modules & package-lock.json and then do npm i

About

react boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors