RobinGood is a clone of the popular stock trading app Robinhood. Users can simulate the buying and selling of stocks, place and remove stocks on their watchlist, and navigate to stocks' detail pages using a search bar.
In this project, Ruby on Rails acts as a backend API, and React handles handles the views. Redux is used to manage the application state. All of the React and Redux code is contained within the frontend/
folder. The Recharts library takes care of constructing graphs, and the IEX Cloud API is used to retrieve real-time stock market data.
- Ruby:
2.7.1
- Rails:
5.2.3
- React:
16.13.1
- Redux:
4.0.5
- Recharts:
1.8.5
- run
npm install
- run
bundle install
- run
bundle exec rails db:setup
- Sign up for a free API key from IEX Cloud to retrieve stock and news data.
- run
bundle exec rails credentials:edit
This will open a file. Add the following to the file, then save and close it:
cloudIEX:
api_key: {Your key here}
- run
npm start
This starts webpack in development mode.
- Buy/sell stocks, as well as manage your watchlist. Stocks can be either owned or watched, not both. Selling all shares of a stock will automatically add it to your watchlist, and buying a stock on your watchlist will automatically remove it from your watchlist.
- See links to recent news stories for a given company
- See all stocks you own and watch on your portfolio page