Repository navigation
Welcome to FeatGen v1.2.0!
In this update, we are tackling one of the biggest pain points in modern app development: Database Boilerplates. You can now seamlessly switch between standard relational databases (JPA) and NoSQL Cloud databases (Firebase Firestore) with a single command!
🌟 What's New in v1.2.0:
- 🛢️ Smart Database Flag (
--db): Choose your target database architecture on the fly. Currently supportsjpa(default) andfirebase. - ☕ Spring Boot + Firebase: Using
--db firebasebypasses standard JPA entities. Instead, it generates Firebase POJOs and custom Repository classes injected with Google CloudFirestoreinstances. - 📱 Flutter + Firebase: Automatically generates
cloud_firestoreready Service classes for your Flutter apps, complete with standard CRUD operations right out of the box. - 💡 Upgraded Help Menu: The
feat_gen --helpcommand is now smarter! It displays command-specific options dynamically and includes real-world practical examples to help you get started faster.
💻 How to Use the New Features:
For a Firebase-ready Spring Boot Feature:
feat_gen create product-catalog -p com.yourcompany.app --db firebase
For a Firebase-ready Flutter Feature:
feat_gen create cart-items -f flutter --db firebase
📦 Installation / Upgrade:
- Download the new
feat_gen.exefrom the Assets section below. - Replace your old
v1.1.0executable file with this new one. - Open a new terminal and type
feat_gen --helpto explore the new commands!