My Mock-Robinhood project!
The challenge was to build a simple Robinhood-like web app that allows the user to view up to date information on a list of tickers. To do this, I created a:
-
React Hooks based web site to show up to date ticker information
-
Node server to handle API requests
-
fake "NASDAQ" API which provides ticker information to the Node API server.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This project uses MongoDB and Node.js, so make sure you have those installed.
brew install mongodb-community@5.0
brew install node
Below is a step-by-step guide to getting the project up and running on your local machine:
Run this in the /frontend
directory
$ cd frontend
$ npm install
$ npm start
Run this in the /api
directory
$ cd api
$ npm install
Open two terminal windows, and run this in the /server
directory
Terminal #1 (for basic installation & starting the server)
$ cd server
$ npm install
$ npm start
Terminal #2 (for seeding & deleting the contents of the database)
$ cd server
$ npm run seed
$ npm run delete
Navigate here to view the app!