SAP (Stock Analysis Platform) to help investors build their investment portfolios and developers build their work portfolios.
Check OurPortfolios out at ourportfolios.net
This project uses uv for dependency and package management.
-
Install all dependencies:
uv sync
-
A PostgreSQL Database URI should then be provided through a
.envfile. Duplicate the.env.templatefile and paste your own Database URI.If using a connection pooler (e.g. Supabase Transaction Pooler, pgbouncer), use the transaction mode endpoint and run the following SQL once on your database:
ALTER ROLE postgres SET jit = off; ALTER ROLE postgres SET statement_timeout = '20s';
These must be set at the role level because pgbouncer resets session state between transactions. For more details, see Properly connecting with a database on serverless.
The schema can then be created and kept up to date with Alembic:
uv run alembic upgrade head
-
The Webapp should then be accessible with
uv run reflex run
This project is maintained and owned by Dank, alongside with the help of Phuc and Dang. Feel free to contact us for anything, including bug reports, ideas for future features, or just somebody to talk to :DD