InfraTrack is a comprehensive site inspection and task management system designed to streamline the process of monitoring and reporting on infrastructure projects.
This project consists of two main components:
- Backend: A Node.js and Express server that handles data storage and business logic.
- Frontend: A cross-platform Flutter application for site inspectors to manage tasks and submit reports.
.
├── infratrack_backend/ # Node.js Backend
│ ├── controllers/ # API Logic
│ ├── models/ # MongoDB Schema Definitions
│ ├── routes/ # API Endpoints
│ └── server.js # Server Entry Point
└── site_inspection_app/ # Flutter Frontend
├── lib/
│ ├── models/ # Data Models
│ ├── screens/ # UI Screens
│ ├── services/ # API Communication
│ └── widgets/ # Reusable UI Components
└── pubspec.yaml # Flutter Dependencies- Node.js & Express
- MongoDB with Mongoose
- CORS & Dotenv for configuration
- Flutter (Cross-platform)
- HTTP for REST API integration
- Image Picker for capturing site photos
- Node.js (v14+)
- Flutter SDK
- MongoDB
- Navigate to the backend directory:
cd infratrack_backend - Install dependencies:
npm install
- Create a
.envfile with:PORT=3000 MONGO_URI=your_mongodb_connection_string
- Start the server:
npm run dev
- Navigate to the app directory:
cd site_inspection_app - Install dependencies:
flutter pub get
- Run the application:
flutter run
- ✅ Authentication: Secure login for site inspectors.
- ✅ Dashboard: Overview of assigned and pending inspection tasks.
- ✅ Task Management: Detailed view of inspection requirements.
- ✅ Photo Evidence: Ability to pick/take photos for site documentation.
- 🚀 Offline Mode: Cache data and sync when connection is restored.
- 🚀 PDF Report Generation: Export inspection results directly from the app.
- 🚀 Push Notifications: Real-time alerts for new task assignments.
- 🚀 Map Integration: View site locations on a map for easier navigation.
- 🚀 User Roles: Separate views for Inspectors, Managers, and Clients.
This project is licensed under the ISC License.