Intelligent drone patrol management system.
- API: Go + Gin + pgx, with sqlc query definitions in
db/queries. - Web: Next.js App Router + React + Tailwind CSS + MapLibre.
- Database: PostgreSQL. The development schema is in
db/schema.sql.
- Create a PostgreSQL database and apply
db/schema.sql. - Copy
.env.exampleto.envand fillDATABASE_URLandSESSION_SECRET. - Start the Go API:
go run ./cmd/api- Start the Next.js app:
cd web
pnpm install
pnpm devThe default admin user is created on API startup when the users table is empty:
- Email:
admin@example.com - Password:
admin
go test ./...
cd web
pnpm typecheck
pnpm build