https://github.com/jonsman/stonkspy
A modern website to prompt Google VertexAI in the context of publicly traded companies.
https://github.com/jonsman/stonkspy
flask google-cloud python react-vite shadcn tailwindcss typescript vertex-ai
Last synced: 13 days ago
JSON representation
A modern website to prompt Google VertexAI in the context of publicly traded companies.
- Host: GitHub
- URL: https://github.com/jonsman/stonkspy
- Owner: Jonsman
- Created: 2024-03-13T20:18:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-01T14:56:53.000Z (about 1 year ago)
- Last Synced: 2025-05-18T05:11:18.893Z (8 months ago)
- Topics: flask, google-cloud, python, react-vite, shadcn, tailwindcss, typescript, vertex-ai
- Language: TypeScript
- Homepage:
- Size: 217 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StonkSpy



## using
* React Vite
* Shadcn
* Tailwind
* Python Flask
* Google Cloud VertexAI
## dev setup
### backend
You need a Google Cloud account, setup a project and activate the VertexAI service for this project.
Then you need to create a service account which has the Vertex AI User role.
Create a private key for the service account and download it as a .json file. This is used for the backend to authenticate to the Google Cloud.
* create `.env` file in root to store Google Cloud information for VertexAI
* with Project ID `PROJECT_ID`, like `PROJECT_ID = "my-google-cloud-project-name"`
* with Location `LOCATION`, like `LOCATION = "us-central1"`
* with Google Application Credentials `GOOGLE_APPLICATION_CREDENTIALS`, like `GOOGLE_APPLICATION_CREDENTIALS = "path-to-google-service-account-private-key.json"`
* run `pip install -r requirements.txt`
### frontend
* `cd` to the frontend folder and run `npm install`