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.
Follow these steps to get a local copy up and running.
- npm
npm install npm@latest -g
- MongoDB
Install the local server or sign up for cloud service
-
Get a free API Key at https://iexcloud.io/
-
Clone the repo
git clone https://github.com/maismin/stock-portfolio-app-demo.git
- Install NPM packages
npm install
- 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'
- If using MongoDB local server, start it up with
sudo service mongod start
- Start the web app
npm run dev
Distributed under the MIT License. See LICENSE
for more information.
Simon Mai - maismin@gmail.com
Project Link: https://github.com/maismin/stock-portfolio-app-demo