Skip to content

Ossr1102/contract-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contract Platform (FastAPI + Postgres + Redis)

This folder contains a self-contained contract management backend as described in the attached architecture plan (OTP auth, org scoping, contracts, licensing, billing, jobs).

Quickstart (Docker)

  1. From this folder, create a .env (optional) or rely on defaults.
  2. Start services:
docker compose up --build
  1. Apply migrations:
docker compose exec api alembic upgrade head
  1. Open API docs at http://localhost:8000/docs.

Local dev (no Docker)

python -m venv .venv
. .venv/Scripts/activate
pip install -r requirements.txt
set DATABASE_URL=postgresql+psycopg://postgres:postgres@localhost:5432/contract_platform
set REDIS_URL=redis://localhost:6379/0
alembic upgrade head
uvicorn app.main:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors