Welcome! This guide is for developers looking to contribute to the ThreatAtlas codebase or set up a localized development environment.
pnpm (Node), pdm (Python)If you want to contribute to the code, follow these steps to run the services locally.
git clone https://github.com/OWASP/www-project-threatatlas.git
cd www-project-threatatlas/threatatlas-app
cp .env.example .env
docker compose up -d postgres
cd backend
pdm install
pdm run migrate
pdm run start:dev
The API will be available at http://localhost:8000.
cd ../frontend
pnpm install
pnpm dev
The UI will be available at http://localhost:5173.
main.pdm run ruff check .pnpm lintpdm run pytest or pnpm test.threatatlas-app/
├── frontend/ # React + TypeScript
├── backend/ # FastAPI + Alembic
└── docs/ # Documentation files