Skip to content

II1302-8/dockpulse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

278 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DockPulse

Test Lint Build Images

Harbor berth availability monitoring system. ESP32 nodes deployed at each berth report occupancy over MQTT, harbor masters and boat owners see live spot status in a web dashboard.

What it does

  • Harbor masters manage their harbor: adopt nodes, lay out spots on a map, oversee bookings.
  • Boat owners see which spots are free in real time and reserve one.
  • Multi-tenant: every harbor is isolated, one deployment serves many.

Stack

backend/     FastAPI, SQLAlchemy, aiomqtt, Postgres
frontend/    React, TypeScript, Vite, Bun
docs/api/    OpenAPI spec
tools/       PKI helpers for the local mTLS broker

Quick start

cp .env.example .env
docker compose up

Boots Postgres, Mosquitto (mTLS), the FastAPI backend with hot reload, and a cert-tools init that generates local CAs into the mqtt-pki volume on first run.

Frontend runs natively:

cd frontend
bun install
bun run dev
Service URL
Frontend http://localhost:5173
Backend http://localhost:8000
Swagger UI http://localhost:8000/docs
Postgres localhost:5432
Mosquitto localhost:8883 (mTLS only)

Documentation

Dockpulse got first place

Packages

 
 
 

Contributors