Skip to content

maismin/stock-portfolio-app-demo

Repository files navigation

Stock Portfolio App Demo

Table of Contents

About The Project

GIF demoing the stock portfolio web app

This is a stock portfolio web app created to showcase my full stack skills. Users can register with their email, and buy and sell stocks. Up to date pricing is pulled from IEX.

Built With

Getting Started

Follow these steps to get a local copy up and running.

Prerequisites

  • npm
npm install npm@latest -g
  • MongoDB

Install the local server or sign up for cloud service

Installation

  1. Get a free API Key at https://iexcloud.io/

  2. Clone the repo

git clone https://github.com/maismin/stock-portfolio-app-demo.git
  1. Install NPM packages
npm install
  1. Add the environment variables to .env
PORT=3000
MONGODB_URI='LINK TO YOUR MONGDB SERVER'
MONGODB_URI_DEV='LINK TO YOUR LOCAL MONGODB SERVER'
MONGODB_URI_TEST='LINK TO LOCAL MONGODB SERVER'
IEX_URI=https://cloud.iexapis.com/stable
IEX_KEY='YOUR IEX KEY'
JWT_SECRET='YOUR SECRET'
  1. If using MongoDB local server, start it up with
sudo service mongod start
  1. Start the web app
npm run dev

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Simon Mai - maismin@gmail.com

Project Link: https://github.com/maismin/stock-portfolio-app-demo