Dashboard App Seed
this repository holds the a Micro App seed for the Dashboard.
Installation
$ git clone && npm it
running on dev use npm start
.
you can supply
PORT
environment variable such that we will listen to another localhost port
Configuration
you will find at ./src/config
folder the configuration setup.
- base: will set default for all environments
- staging, development, production: respectively for each environment, will override
base
values.
you should pass
CLUSTER
environment variable for each environment other thedevelopment
Firebase
firebase configuration is at firebase.json
file. .firebaserc
file is to make sure the correct bucket is chosen.
Npm Tasks
all tasks should run with
npm run <task>
command
- test - run
jest
with coverage report - build - will run
test
,lint
andclean
task then will build to./dist
folder - start - will start
webpack-dev-server
and open the browser - lint - lint files in
./src
folder and fix soft errors if possible - clean - remove
./dist
folder - serve - this is for running files from
./dist
folder on port8080