/Mock-Robinhood

My repo for the Mock-Robinhood challenge!

Primary LanguageJavaScriptMIT LicenseMIT

Mock-Robinhood

My Mock-Robinhood project!

til

Table of Contents

About

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This project uses MongoDB and Node.js, so make sure you have those installed.

brew install mongodb-community@5.0
brew install node

Installing

Below is a step-by-step guide to getting the project up and running on your local machine:

/frontend

Run this in the /frontend directory

$ cd frontend
$ npm install
$ npm start

/api

Run this in the /api directory

$ cd api
$ npm install

/server

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

Usage

Navigate here to view the app!