A parody application to help financiers make correlations with historic stock data and other historic data such as weather data, space weather, etc.
This is a monorepo of the ddiligence project. Clone the repo and refer to each subproject's readme.md for more details TODO create new readmes for each service.
Required software: Python (3.11.4)
After cloning the entire project and setting up python in your machine:
- Create a python venv in the
app_flask
directory - Within the app_flask directory install the required libraries:
- run
pip install -r requirements.txt
- run
- To begin create a development environment, add the following block in
api.py
(ensure to remove it before deploying to production branch) #TODO include this in validation step during buildif __name__ == '__main__': app.run(debug=True)
- To deploy a local testing environment of the server run:
python <path_to_app_flask>/api.py
through your activated virtual environment.- It should create an environment you can begin testing at
http://127.0.0.1:5000/
- It should create an environment you can begin testing at
- To deploy a local testing environment of the server run:
- Create unit tests under the
app_flask/tests/ directory
ensure you also run the existing unit tests before submitting:python -m unittest discover -s tests
Required software: Node.js, npm after cloning the project
- within the client_react directory:
- run
npm install
- this should automatically install the required npm packages
- run
- To deploy a local testing environment of the server run:
npm start
- It should create an environment you can begin testing at
http://localhost:3000
- It should create an environment you can begin testing at
additional files for the final deployed project
- images & icons (TODO figure out how to handle serving final files during deployment step)
located in the .github/workflows/
directory