This repository is purposed to make developer easier to start project with react and firebase. This repo also bundled with bunch of frontend library like redux, webpack etc. and also the theme of the boilerplate is using gentellala built on top of bootstrap framework.
React A javascript library for building user interfaces
$ git clone https://github.com/purnomoeko/fab-price-monitoring
$ cd fab-price-monitoring
$ npm install
$ npm run dev
Please install webpack and webpack-dev-server globally.
$ npm install -g webpack webpack-dev-server
- MongoDb
- Redis - Optional
- NodeJs version 8 or later
- PORT: port that will be used for node apps
- FAB_MONITORING_URL: Mongodb url
- FAB_MONITORING_DBNAME: Mongodb DBName
Make sure your port specified is open and available
0 */1 * * * node functions/cron.js
- To run the test on backend api url you can try to use this:
npm test
- Individual test file
./node_modules/mocha/bin/mocha test/${filename}.js
$ cd ./fab-price-monitoring/functions
$ npm install
$ nodemon bin/www