Sea visibility forecast app. React frontend + FastAPI backend.
- Python 3.11+
- Node.js 18+
Clone the repo, then:
cd backend python -m venv .venv .venv\Scripts\activate pip install -r requirements.txt copy .env.example .env
cd frontend npm install
You need two terminals, both with the repo open.
Terminal 1 — backend cd backend .venv\Scripts\activate uvicorn app.main:app --reload Runs on http://localhost:8000
Terminal 2 — frontend cd frontend npm run dev Runs on http://localhost:5173
- Open http://localhost:5173 — the app
- Open http://localhost:8000/docs — backend API docs (Swagger)
- Pick a date/time in the app, click "Check conditions" — should see "Forecast received."
- On macOS/Linux, replace
.venv\Scripts\activatewithsource .venv/bin/activateandcopywithcp. - Keep both terminals running while developing.