Skip to content

ourportfolios-net/ourportfolios

Repository files navigation

OurPortfolios

SAP (Stock Analysis Platform) to help investors build their investment portfolios and developers build their work portfolios.

Check OurPortfolios out at ourportfolios.net


Running the frontend locally

This project uses uv for dependency and package management.

  1. Install uv.

  2. Install all dependencies:

    uv sync
  3. A PostgreSQL Database URI should then be provided through a .env file. Duplicate the .env.template file 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
  4. The Webapp should then be accessible with

    uv run reflex run

Credits

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

About

Stock Analysis Platform for beginners and intermediate investors. Build your portfolios. We'll build ours!

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors