$ git clone https://github.com/OliveIT/RatingWebsite.git
$ cd react-redux-firebase-boilerplate
$ npm install
$ npm run dev
First you need to create your firebase application to fetch settings for boilerplate. For more information how to add your web app check this resource. After it copy your settings from firebase and fill config.js
module.exports = {
FIREBASE_CONFIG: {
apiKey: "",
authDomain: "",
databaseURL: "",
storageBucket: "",
}
}
Script | Description |
---|---|
npm run dev |
Run development server with webpack-dev-server @ localhost:3000 |
npm run build |
Test, and build the application to ./dist |
npm start |
Start production ready app with pm2 from ./dist @ localhost:8080 |
npm run lint |
Run ESLint on ./src |