Skip to content

cnsheafe/StockWatcher

Repository files navigation

StockWatcher

View stock prices from different companies and set SMS Alerts when stocks reach a certain price.

Graph of Microsoft Stock About

This repositiory contains the backend of StockWatcher. For the repository of just the front-end go here.

User Features

  • NASDAQ stock symbol lookup
  • Graphs generated from company stock price history
  • Custom SMS Alerts

Technical Features

  • MVC Model Validation and CORS Middleware
  • Background Scheduler for alerts
  • Docker for portability

Tech Stack

Back-end

  • ASP.NET CORE
  • Node.js (for server-side rendering)
  • EF Core w/ PostgreSql
  • Hangfire
  • Docker Container

Front-end

  • React-Redux
  • RxJs
  • Typescript
  • Chart.js
  • Fetch API
  • Material Icons
  • Sass/SCSS

Third-Party APIs

  • Twilio SMS and Notify
  • AlphaVantage

Development Tools

  • Xunit
  • VSCode .NET debugger
  • Travis CI

Architecture

StockWatcher is built on an REST API architecture to handle all business processes. The controllers act as thin endpoints for handing off requests to service providers which lie in the model layer. The service providers handle database operations, Third-Party API access, and what data to return to the controllers. The app is wrapped within a Docker container for portability.

Instructions for Development

Developing StockWatcher requires ASPNET Core v2.0, PostgreSQL, and Docker.

Always start with the following:

dotnet restore

For Postgres, copy the processed csv of companies to your database.

For Docker, publish the code and upload it to the host of your choice.

cd StockWatcher/
dotnet publish -o out/
docker build -t <your-docker-image> .
docker push <your-docker-repo>

To view in browser use a .NET Core debugger such as in VS Code or Visual Studio.

Future Plans

  • Add accounts
  • Add StripeJs

About

Set SMS notifications for changes in open stock prices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published