fcc project Chart the Stockmarket demo
- I can view a graph displaying the recent trend lines for each added stock.
- I can add new stocks by their symbol name.
- I can remove stocks.
- I can see changes in real-time when any other user adds or removes a stock. For this you will need to use Web Sockets.
create a base for react authentication.
- node.js
- react.js
- react-router-dom (react-router v4)
- mongodb & mongoose
- passport.js (passport-local)
This project was bootstrapped with Create React App.
Following vlad's authentication blog
unixy:
sudo apt-get install mongodb-org
- clone repo
- create .env file, e.g.
dbUri=mongodb://localhost:27017/testdb
jwtSecret=somesecretphrase
- npm install (top level and client dirs)
- startup mongo
- npm start
- clone repo
- create .env file, e.g.
dbUri=mongodb://localhost:27017/testdb
jwtSecret=somesecretphrase
NODE_ENV=production
- npm install (top level and client dirs)
- cd client && npm run build
- cd ..
- start mongo
- node server