Skip to content

A full stack stock trading app built using MVVM architecture and RESTful API. Features up-to-date price charts, financial data, and news.

Notifications You must be signed in to change notification settings

anle9650/InveStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InveStats

InveStats is a responsive single page application, where users can buy and sell from thousands of stocks. Featuring up-to-date price charts, financial data, and news so that users can make the most informed decision.

Screen Shot 2021-12-20 at 2 32 52 PM

Demo

Demo of the app hosted at: https://investats2.herokuapp.com

Features

  • Real up-to-date stock price line and candlestick charts. Choose between past day, week, month, MTD, YTD, 1 year, and 5 year time intervals.
  • Search, buy, and sell stocks by stock symbol or name.
  • Get personal performance stats, and general stock performance stats.
  • Donut chart visualizing total stock holdings.
  • News ticker displaying most recent news for all stocks held.

Technologies

Getting Started

# Clone project 
git clone https://github.com/anle9650/InveStats.git

# Install dependencies
npm install

# Load sample data
node server/PortfolioSeed.js
node server/StockSeed.js

# Run local server
npm start

Visit in browser: http://localhost:3000

Directory Structure

├── client                         // client build
│   ├── vue.config.js              // config
│   ├── public                     // public assets
│   │   ├── favicon.ico            // favicon
│   │   └── index.html             // html template
│   ├── src                        // source code
│   │   ├── assets                 // static resource like themes, fonts
│   │   ├── components             // global public components
│   │   ├── App.vue                // entry view
│   │   └── main.js                // entry for loading components, initialization
│   ├── babel.config.js            // babel-loader config
│   ├── .gitignore                 // gitignore
│   └── package.json               // package.json
├── server                         // server build
│   ├── public                     // public assets 
│   │   ├── css                    // css
│   │   ├── js                     // js
│   │   ├── favicon.ico            // favicon
│   │   └── index.html             // html template
│   ├── models                     // models
│   ├── controllers                // controllers
│   ├── routes                     // request routes
│   ├── index.js                   // entry for server initialization
│   ├── portfolioSeed.js           // load sample portfolio
│   └── stockSeed.js               // load sample stocks
├── .gitignore                     // gitignore 
└── package.json                   // package.json

API Documentation

Fetch

GET /api/portfolios/:id
GET /api/news?q={symbol}&from={date}

Acknowledgments

About

A full stack stock trading app built using MVVM architecture and RESTful API. Features up-to-date price charts, financial data, and news.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published