Template project to kickstart new React projects
- Node.js v10.14+
- React.js v16.8+
It is highly recommended to use nvm
with this project, the .nvmrc
file is already defined in this project, just run nvm use
command to switch to required Node.js version.
- Copy
/deploy/local/dotenv
file into project root folder and rename to.env
. - For the GOOGLE_API_KEY field in .env file, you need to provide your own Google API key for the project to work properly.
npm install
npm start
.babelrc file is used for unit tests only. A similar copy of babel config can be found in webpack.config.js
, and that should be used as source of truth.
- Create production build using
npm run build
- Execute
npm run start:build
to run website locally (you must installhttp-server
first usingnpm install http-server -g
)