Skip to content

Back-end services to a service oriented architecture software project.

Notifications You must be signed in to change notification settings

christam96/Service-Oriented-Architecture

Repository files navigation

Service-Oriented-Architecture

INSTRUCTIONS

  1. Clone the repo
  2. Install necessary dependencies by performing the commands detailed in the INSTALL section below.
  3. In it you will find ngrok.exe, an application to access our website. Run two instances of ngrok and note the ports on which you run them. For example, you can run these with:
$ ngrok http 8000 

and

$ ngrok http 5000

Further instructions to start ngrok can be found here: https://dashboard.ngrok.com/get-started.

  1. Deploy the web application and back end components by performing the commands detailed in the DEPLOYMENT section below.

  2. Run both python scripts (historic_prices.py and EfficientFrontier.py). Make sure that the ports specified at the bottom of each script correspond to the port on which ngrok is running on.

  3. Run the front end components (found here: https://github.com/Fadyazmy/cs4471).

  4. Sign in. You can use this account, for example: Email: [email protected] Password: 123456

  5. Play around with our services. To make sure you have full access to ALL our services, navigate to the User Profile page and set your name to Admin. This will give you full access to all services. Service 1: Stock Lookup (Displays historic prices for a given stock) Service 2: Efficient Frontier (Gives recommendations for a given portfolio) Service 3: Service Yellow Pages (Allows admins to control which services are available to users)

INSTALL

Python Dependencies:

$ pip install flask
$ pip install matplotlib
$ pip install numpy
$ pip install pandas
$ pip install yfinance
$ pip install firebase

DEPLOYMENT

Host Back End Endpoint:

$ python historic_prices.py
$ python efficient_frontier.py

About

Back-end services to a service oriented architecture software project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages