raianmr / jogaar

Jogaar is a crowdfunding platform for future small business owners.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jogaar

Jogaar is a crowdfunding platform for future small business owners.

The project is in its infancy, and this is literally my very first attempt at RESTful APIs. The gate of suggestions is always open.

Running locally

For development, make a .env.dev in ./Jogaar and run

docker compose up -d --build

For production, make a .env.prod in ./Jogaar and run

docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build

Refer to ./api/app/core/config.py for the contents of these .env* files.

For non-dockerized environments, create and activate a Python virtual environment and run

cd ./api/
pip install -U -r requirements.txt
uvicorn app.main:app --reload

Creation of databases isn't handled from within the application. To create the tables, run

alembic upgrade head

About

Jogaar is a crowdfunding platform for future small business owners.


Languages

Language:Python 78.0%Language:TypeScript 21.3%Language:Mako 0.3%Language:CSS 0.2%Language:Dockerfile 0.1%Language:JavaScript 0.1%