Skip to content

single-page react app that allows users request to be notified about specific changes in the price of stocks or crypto currencies

License

Notifications You must be signed in to change notification settings

Ehiremen/markettracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

market-tracker

single-page react app that allows users request to be notified about specific changes in the price of stocks or crypto currencies. currently set to retrieve market data every 3 minutes.

key details

  • doesn't allow signing into portfolios to avoid security breaches.
  • doesn't store user names or emails to help promote some form of privacy.

tech stack:

  • react (front end)
  • express (server)
  • axios
  • mongo db (store requests)
  • twilio api (sms notifications)
  • alphaVantage api (market data)
  • heroku (host live app)

check out...

to deploy:

  • backend: run "npm start from root directory. (NOTE: runs on localhost:5000)
  • frontend: run "npm start" from "front-end" directory (NOTE: runs on localhost:3000)

NOTE:

Need to create a '.env' file in the root directory to run the backend locally. Add the following lines (no quotes, and no leading '-') to the .env:

  • TWILIO_ACCOUNT_SID=your_twilio_sid
  • TWILIO_AUTH_TOKEN=your_twilio_token
  • TWILIO_PHONE_NUMBER=your_twilio_phone_num
  • ALPHA_VANTAGE_API_KEY=your_alpha_vantage_key
  • ALPHA_VANTAGE_DATA_TYPE=json

Also NOTE: Twilio free tier users can only send sms notifications to verified numbers (i.e. you will need to recieve a verification code on that number first and approve it). Because of this, you can't sms just anyone with a free-tier twilio account. The live app allows for sending notifications to any number in the US

Done for and during the 2021 UofIowa Hackathon

backlog:

  • check queries to ensure they aren't exact duplicates before adding them to the database

About

single-page react app that allows users request to be notified about specific changes in the price of stocks or crypto currencies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published