A React-based intelligent Spring Boot project generator that creates complete, production-ready Spring Boot applications based on API purposes and requirements.
- Intelligent API Generation: Select from predefined API purposes (User Management, Product Catalog, Order Management, etc.) and the system generates appropriate code
- Smart Integration: Automatically understands API relationships and generates integrated code that works seamlessly together
- Purpose-Driven Development: Instead of writing boilerplate code, describe what your API should do and let the generator handle the implementation
- Complete Project Structure: Generates Maven project with proper dependencies, configuration, and folder structure
- No Database Required: Uses H2 in-memory database for development, making it easy to get started
- Download Ready: Generates a complete ZIP file with your Spring Boot project ready to run
- Registration and authentication
- Profile management
- Role-based access control
- Generated: User entity, authentication endpoints, security configuration
- Product CRUD operations
- Category management
- Inventory tracking
- Generated: Product entity, catalog endpoints, validation
- Order creation and tracking
- Status management
- Customer integration
- Generated: Order entity, order processing endpoints, status workflows
- Article/blog management
- Publishing workflows
- Author management
- Generated: Content entity, publishing endpoints, metadata handling
- Multi-channel notifications
- Read/unread status
- User targeting
- Generated: Notification entity, delivery endpoints, status tracking
- File upload and storage
- Metadata management
- Access control
- Generated: File entity, upload endpoints, storage configuration
- Enter project name, group ID, package structure
- Select Java version (11, 17, or 21)
- Auto-generates Maven coordinates
- Click "Add New API" to open the purpose-based builder
- Select the purpose that best matches your needs
- Customize endpoints, fields, and descriptions
- Add multiple APIs - the system will integrate them intelligently
- Review the generated project structure
- Preview individual files (POM, entities, controllers, services)
- Download complete ZIP file with your Spring Boot project
your-project/
βββ pom.xml # Maven configuration with smart dependencies
βββ src/main/java/com/example/app/
β βββ Application.java # Main Spring Boot application
β βββ config/
β β βββ WebConfig.java # CORS and web configuration
β β βββ SecurityConfig.java # Security configuration (if needed)
β βββ controller/ # REST Controllers
β β βββ UserController.java
β β βββ ProductController.java
β βββ service/ # Business logic layer
β β βββ UserService.java
β β βββ ProductService.java
β βββ repository/ # Data access layer
β β βββ UserRepository.java
β β βββ ProductRepository.java
β βββ entity/ # JPA Entities
β β βββ User.java
β β βββ Product.java
β βββ dto/ # Data Transfer Objects
β βββ UserCreateRequest.java
β βββ UserResponse.java
β βββ ProductCreateRequest.java
β βββ ProductResponse.java
βββ src/main/resources/
β βββ application.properties # Application configuration
β βββ data.sql # Sample data (if applicable)
βββ README.md # Generated project documentation
- User Management + Order Management: Automatically creates user-order relationships
- Product Catalog + Order Management: Links products to order items
- Cross-API Validation: Ensures data consistency across related APIs
- Automatically includes Spring Security for user management APIs
- Adds file upload dependencies for file management APIs
- Includes validation dependencies for all APIs
- Uses H2 database for development, easily switchable to production databases
- Validation: All endpoints include proper validation annotations
- Error Handling: Consistent error responses across all APIs
- CORS Configuration: Ready for frontend integration
- Documentation: Generated README with API documentation
- Node.js 16+ and npm
- Modern web browser
-
Clone the repository
git clone <repository-url> cd springboot-generator
-
Install dependencies
npm install
-
Start the development server
npm start
-
Open your browser Navigate to
http://localhost:3000
- Configure your project - Enter project details in Step 1
- Add APIs - Use the purpose-driven API builder in Step 2
- Generate & Download - Review and download your complete Spring Boot project in Step 3
- Run your project:
cd your-downloaded-project ./mvnw spring-boot:run
- React 18: Modern React with hooks
- Lucide React: Beautiful icons
- JSZip: Client-side ZIP file generation
- FileSaver.js: File download functionality
- Spring Boot 3.1.5: Latest stable version
- Spring Web: REST API development
- Spring Data JPA: Database abstraction
- Spring Security: Authentication and authorization (when needed)
- H2 Database: In-memory database for development
- Bean Validation: Input validation
- Modern Design: Clean, professional interface with gradient backgrounds
- Responsive: Works on desktop, tablet, and mobile devices
- Progress Tracking: Clear visual progress through the generation steps
- File Preview: Syntax-highlighted code preview with file tree navigation
- Smart Forms: Auto-completion and validation for project configuration
- Interactive API Builder: Visual purpose selection with customizable options
Let's say you want to build an e-commerce backend:
- Project Setup: Name it "E-commerce API", set package as
com.example.ecommerce - Add User Management API: For customer registration and authentication
- Add Product Catalog API: For managing products and categories
- Add Order Management API: For handling customer orders
- Generate: The system automatically:
- Links users to orders
- Links products to order items
- Adds security configuration
- Creates proper database relationships
- Generates integrated endpoints
Result: A complete e-commerce backend with user auth, product management, and order processing!
POST /api/users/register- User registrationPOST /api/users/login- User authenticationGET /api/users/profile- Get user profilePUT /api/users/profile- Update user profile
GET /api/products- List all productsPOST /api/products- Create new productGET /api/products/{id}- Get product by IDPUT /api/products/{id}- Update productDELETE /api/products/{id}- Delete product
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Spring Boot team for the excellent framework
- React team for the amazing frontend library
- All contributors who help make this project better
Happy Coding! π
Generate your next Spring Boot project in minutes, not hours!