CyberFusion AI is an enterprise cybersecurity platform foundation for autonomous security operations and future threat detection workflows. Module 1 establishes the production-grade development base only. It intentionally does not include AI logic, threat intelligence engines, or detection features yet.
- FastAPI backend foundation with application factory, settings, CORS, logging, middleware, OpenAPI, and health/version endpoints.
- PostgreSQL 16 integration through SQLAlchemy and Alembic.
- React 19 frontend with Vite, TailwindCSS, React Router, React Query, Axios, Hero Icons, and Framer Motion.
- Docker Compose stack for frontend, backend, and database.
- Nginx reverse proxy for the frontend container.
CyberFusionAI/
├── backend/
├── frontend/
├── docker/
├── database/
├── scripts/
├── tests/
├── docs/
├── README.md
├── .gitignore
├── .env.example
├── docker-compose.yml
└── LICENSE
flowchart LR
U[User Browser] --> N[Nginx]
N --> F[React Frontend]
N --> B[FastAPI Backend]
B --> D[(PostgreSQL 16)]
See docs/architecture.md for the module-level foundation notes.
- Clone the repository.
- Copy
.env.exampleto.env. - Adjust the environment values for your local or containerized setup.
APP_NAMEVERSIONDEBUGENVIRONMENTAPI_PREFIXDATABASE_URLALLOWED_ORIGINSJWT_SECRET_KEYJWT_ALGORITHMJWT_ACCESS_TOKEN_EXPIRE_MINUTESPOSTGRES_DBPOSTGRES_USERPOSTGRES_PASSWORD
Run the full stack with:
docker compose up --buildExpected services:
- Frontend:
http://localhost:3000 - Backend:
http://localhost:8000 - Swagger UI:
http://localhost:8000/docs - Health endpoint:
http://localhost:8000/health
Backend:
cd backend
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reloadFrontend:
cd frontend
npm install
npm run devBackend:
uvicorn app.main:app --reloadalembic upgrade head
Frontend:
npm run devnpm run buildnpm run preview
Containers:
docker compose up --builddocker compose down
- Authentication and authorization.
- Role-based access control.
- Cybersecurity detection modules.
- Threat intelligence ingestion.
- AI-assisted operations workflows.
- Alerts, incidents, forensics, and asset enrichment pipelines.
Module 1 is intentionally a foundation-only release. The current UI uses placeholder content so later security modules can be added without restructuring the platform.