NodeJS 8+ is required to run this service.
cd ~
wget https://nodejs.org/dist/v8.9.4/node-v8.9.4-linux-x64.tar.xz
tar -xf node-v8.9.4-linux-x64.tar.xz
rm -f node-v8.9.4-linux-x64.tar.xz
sudo cp node-v8.9.4-linux-x64/bin/node /usr/bin/
sudo node-v8.9.4-linux-x64/bin/npm install -g npm
rm -fr node-v8.9.4-linux-x64
cd -
- Run
npm install
- Start the dev server using
npm start
- Open http://localhost:8080
npm start
- Start the dev servernpm run build
- Create a production ready build indist
foldernpm run lint
- Execute an ESLint checknpm test
- Checks if your code is ok before creating a commitnpm run test:unit
- Run your unit testsnpm run report:coverage
- Detailed code coverage of the last tests you ran
├── app
│ ├── assets
│ │ ├── images/
│ │ └── scss/
│ ├── components
│ │ ├── App.js
│ │ ├── Navbar.js
│ │ ├── Footer.js
│ │ └── ...
│ └── vendors/
├── config/
├── tests
│ └── components/
The source code is under this folder.
Add new components here. App.js is the main component.