Add complete NexaFabric project structure including: - FastAPI backend with SQLAlchemy models, JWT auth, RBAC, audit logging, and provider interfaces - React + TypeScript frontend with Vite, Tailwind CSS, TanStack Query, and Zustand - Docker Compose configuration for PostgreSQL, Redis, API, worker, frontend, and nginx - GitHub Actions and GitLab CI workflows for testing, linting, building, and security scanning - Environment
469 B
469 B
API Examples
Login:
curl -X POST http://localhost:8080/api/v1/auth/login \
-H 'Content-Type: application/json' \
-d '{"email":"admin@nexafabric.local","password":"ChangeMe_UseEnvInstead"}'
List clusters:
curl http://localhost:8080/api/v1/clusters \
-H "Authorization: Bearer $TOKEN"
Generate firewall preview:
curl -X POST http://localhost:8080/api/v1/firewall/preview/$POLICY_ID \
-H "Authorization: Bearer $TOKEN"