This repository contains two incident-reporting clients plus a simple Node server:
- Flutter app in
DartFlutter/ - React/Expo-style web/mobile code in the root
src/app - Example backend in
server/
Run:
cd DartFlutter
flutter pub get
flutter run -d chromeNotes:
- Reports are saved locally in an encrypted Hive box.
- Location/media permissions are requested at runtime.
Run:
npm install
npm run devNotes:
- Uses location/media features from the app services and components in
src/. - Set backend
API_URLinsrc/services/api.jsif needed.
Run:
cd server
npm install
npm startServer endpoint:
POST /reports
- Verify Flutter setup with
flutter doctor. - Verify Node setup with
node -vandnpm -v. - If
flutteris not recognized, add Flutterbinto PATH and restart the terminal.