Skip to content

nikrb/fcc-stocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fcc project Chart the Stockmarket demo

User Stories

  1. I can view a graph displaying the recent trend lines for each added stock.
  2. I can add new stocks by their symbol name.
  3. I can remove stocks.
  4. 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

setup

install mongo

unixy: sudo apt-get install mongodb-org

development

  1. clone repo
  2. create .env file, e.g.
dbUri=mongodb://localhost:27017/testdb
jwtSecret=somesecretphrase
  1. npm install (top level and client dirs)
  2. startup mongo
  3. npm start

production (cloud9)

  1. clone repo
  2. create .env file, e.g.
dbUri=mongodb://localhost:27017/testdb
jwtSecret=somesecretphrase
NODE_ENV=production
  1. npm install (top level and client dirs)
  2. cd client && npm run build
  3. cd ..
  4. start mongo
  5. node server

About

fcc project chart the stock market

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published