MLock is a locker booking platform that allows users to find, book, and manage locker stations through a mobile application.
- Locker booking and management
- Location-based station finding
- Firebase authentication with Google Sign-In
- Razorpay payment integration
- Push notifications
- Admin dashboard
- Real-time locker status updates
- Flutter 3.7+
- BLoC state management
- Firebase Auth
- Google Maps
- Razorpay payments
- Secure storage
- Express.js with TypeScript
- MongoDB with Mongoose
- Firebase Admin SDK
- Socket.IO
- MQTT
- AdminJS dashboard
- Clone and install dependencies:
git clone <repository-url>
cd backend
npm install- Create
.envfile:
PORT=3000
MONGODB_URI=mongodb://localhost:27017/mlock
JWT_SECRET=your_jwt_secret
FIREBASE_PROJECT_ID=your_firebase_project_id
RAZORPAY_KEY_ID=your_razorpay_key
RAZORPAY_SECRET=your_razorpay_secret- Start server:
npm run dev- Install Flutter dependencies:
cd fontend
flutter pub get- Create
.envfile:
RAZORPAY_KEY_ID=your_razorpay_key_id
RAZORPAY_KEY_SECRET=your_razorpay_key_secret
API_BASE_URL=http://localhost:7000/api
GOOGLE_MAPS_API_KEY=your_google_maps_key- Add Firebase configuration files and run:
flutter runmlock/
├── mlock-server/ # Node.js backend
│ ├── src/
│ └── package.json
└── mlock_flutter/ # Flutter app
├── lib/
└── pubspec.yaml
npm run build
npm run startflutter build apk --releaseSaif Ali Shaikh