Scaffold Next.js + FastAPI + Postgres tasks board (no auth)

This commit is contained in:
Abhimanyu Saharan
2026-02-01 22:25:28 +05:30
commit 8b6e8c8d07
2967 changed files with 621159 additions and 0 deletions

50
README.md Normal file
View File

@@ -0,0 +1,50 @@
# OpenClaw Agency — Pilot (Kanban)
MVP: **Next.js (frontend)** + **FastAPI (backend)** + **PostgreSQL**.
No auth (yet). The goal is simple visibility: everyone can see what exists and who owns it.
## Repo layout
- `frontend/` — Next.js App Router (TypeScript)
- `backend/` — FastAPI + SQLAlchemy + Alembic
## Database
Uses local Postgres:
- user: `postgres`
- password: `netbox`
- db: `openclaw_agency`
Backend config is in `backend/.env`.
## Run backend
```bash
cd backend
source .venv/bin/activate
uvicorn app.main:app --reload --port 8000
```
Health check:
```bash
curl http://127.0.0.1:8000/health
```
## Run frontend
```bash
cd frontend
npm run dev
```
Open: http://localhost:3000
## API
- `GET /tasks`
- `POST /tasks`
- `PATCH /tasks/{id}`
- `DELETE /tasks/{id}`