Skip to content

Marw1/SmartSwimming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Smart Swimming — AI Beach Safety (Python)

This repository was converted to a Python-first implementation. The React/Vite frontend was removed and replaced with a minimal Flask app that renders the map and risk indicators server-side and uses a small client script for interactivity.

Quick start (Windows):

  1. Create and activate a virtual environment
python -m venv .venv
.\.venv\Scripts\Activate.ps1
  1. Install dependencies
pip install -r backend\requirements.txt
  1. Run the app
python backend\app.py

Open http://127.0.0.1:5000/ in your browser.

Notes

  • The backend code lives in backend/.
  • Risk calculation logic is in backend/utils/risk.py.
  • Mock beach data is in backend/data/beaches.py.
  • The interactive map uses Leaflet via a small client script at backend/static/js/map.js.

If you want the original React/Vite frontend restored, I can keep it in an archive/ folder instead of deleting it.

About

Portable way to explore beaches worldwide while quickly assessing basic safety factors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors