Near Me is a Flutter project with a Python FastAPI backend.
The mobile/web/desktop client lives in the root Flutter app, and the backend API lives in lib/backend/app.
- Flutter (frontend)
- FastAPI + Uvicorn (backend)
- Python dependencies in
lib/backend/app/requirements.txt
- Flutter SDK installed and available in PATH
- Python 3.10+ installed
- pip installed
lib/main.dart: Flutter app entry pointlib/backend/app/main.py: FastAPI app entry pointlib/backend/app/requirements.txt: backend Python packages
-
Install Flutter packages (from project root):
flutter pub get
-
Install backend packages (from
lib/backend/app):pip install -r requirements.txt
-
Start the backend API (from
lib/backend/app):uvicorn main:app --reload --host 0.0.0.0 --port 8000
-
In a new terminal, start Flutter app (from project root):
flutter run
Open this URL after starting the backend:
You should get the default greeting response from the FastAPI route.
- Keep backend and Flutter running in separate terminals during development.
- Use
flutter devicesto list available run targets.