Given your background in Java, Kotlin, Lombok, PostgreSQL, and Vue.js, and your goal to build a high-quality mobile food app with maps, QR scanning, recipes, and easy authentication, here’s a modern, efficient, and scalable tech stack that balances development speed and performance.
Recommended Tech Stack
| Layer | Technology | Why? |
|---|
| Mobile Frontend | Kotlin Multiplatform (KMP) + Compose Multiplatform | - Write shared Kotlin code for Android & iOS. - Native performance (no web wrappers). - Jetpack Compose for UI (declarative & modern). - Easy integration with native APIs (maps, QR scanning). |
| Backend | Spring Boot (Kotlin) | - You already know Java/Kotlin/Spring. - Lombok reduces boilerplate. - Robust REST API for mobile & web. - Spring Security for auth. |
| Database | PostgreSQL + PostGIS | - PostGIS for geospatial queries (maps). - Relational structure for recipes, brands, users. |
| Authentication | Firebase Auth | - Quick login (Google, Apple, email, phone). - Token-based auth (JWT) for Spring Boot. - Syncs user data across devices. |
| Maps & Navigation | Google Maps SDK (Android) + MapKit (iOS) | - Native performance for maps. - Deep linking to Google/Apple Maps. |
| QR Scanning | Google ML Kit (Android) + Vision (iOS) | - Fast & accurate QR scanning. - Works offline. |
| Web Admin (Optional) | Vue.js + Nuxt.js | - Leverages your Vue.js skills. - Admin dashboard for managing recipes/brands. |
Why This Stack?
1. Mobile: Kotlin Multiplatform (KMP) + Compose Multiplatform
- Single codebase for Android & iOS (saves time).
- Native performance (unlike React Native/Flutter).
- Easy access to native APIs (maps, QR scanning).
- Jetpack Compose for modern UI (similar to Vue.js reactivity).
2. Backend: Spring Boot (Kotlin)
- You already know Java/Kotlin/Spring → fast development.
- Lombok reduces boilerplate.
- Spring Security + Firebase Auth → secure & easy login.
- PostgreSQL + PostGIS → efficient geospatial queries for maps.
3. Maps & QR Scanning
- Google Maps SDK (Android) + MapKit (iOS) → best performance.
- Deep linking to Google/Apple Maps for navigation.
- Google ML Kit → fast QR scanning (works offline).
4. Authentication: Firebase Auth
- Quick login (Google, Apple, email, phone).
- Token-based auth (JWT) → secure & scalable.
- Syncs user data (favorites, recipes, etc.).
5. Web Admin (Optional): Vue.js + Nuxt.js
- Leverages your Vue.js skills.
- Admin dashboard for managing recipes, brands, etc.
Alternative Considerations
| Alternative | Pros | Cons |
|---|
| Flutter (Dart) | - Single codebase for mobile & web. - Good performance. | - Not Kotlin/Java (new language). - Limited native API access (maps, QR). |
| React Native (JavaScript) | - Large ecosystem. - Can reuse Vue.js knowledge. | - Slower than native. - More complex native integrations. |
| Native (Swift + Kotlin) | - Best performance. - Full native API access. | - Double the work (two codebases). |
→ Kotlin Multiplatform is the best choice for you because:
✅ Uses Kotlin (your preferred language).
✅ Native performance (unlike Flutter/React Native).
✅ Single codebase (unlike Swift + Kotlin).
Development Roadmap
- Set up PostgreSQL + PostGIS (for geospatial queries).
- Build Spring Boot API (Kotlin + Lombok).
- Integrate Firebase Auth (for easy login).
- Develop KMP app (shared Kotlin logic + Compose UI).
- Add maps (Google Maps SDK + MapKit).
- Implement QR scanning (Google ML Kit).
- Build recipe & brand browsing.
- (Optional) Add Vue.js admin dashboard.
Final Recommendation
Go with:
✅ Kotlin Multiplatform (KMP) + Compose Multiplatform (mobile)
✅ Spring Boot (Kotlin + Lombok) (backend)
✅ PostgreSQL + PostGIS (database)
✅ Firebase Auth (authentication)
✅ Google Maps SDK + MapKit (maps)
✅ Google ML Kit (QR scanning)
✅ (Optional) Vue.js + Nuxt.js (web admin)
This stack maximizes your existing skills while delivering a high-performance, native mobile app with minimal development overhead.
Would you like a sample project structure or code examples for any part? 🚀