Code Monkey home page Code Monkey logo

service-oriented-architecture's Introduction

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

service-oriented-architecture's People

Contributors

christam96 avatar jakenemiroff avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.