Tentang
Spring Boot Project Generator CLI
Pengembangan web dan aplikasiYang dapat Anda lakukan
- Build - Project setup - Spring Boot project with Maven or Gradle
- Code formatting - Spotless
- Task runner - mise (default) or Taskfile (with SDKMAN configuration) to execute commonly used commands
- Persistence - Persistence frameworks - Spring Data JPA, Spring JdbcClient, jOOQ
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +3
- dalam 15 hari
- +4
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliProject Generator CLI
A CLI tool for generating Spring Boot projects.
This repository also contains Progen Desktop, a desktop app for macOS, Windows and Linux that generates the same Spring Boot projects through a step-by-step wizard. See Progen Desktop below.
Motivation
There are a few good project generator tools exist, such as JHipster, Bootify, generator-springboot.
The reasons for creating this new progen CLI tool are:
- To generate the application with minimal code and include only the most commonly used features and configurations.
- We should be able to use the tool offline to create the projects.
- We should be able to use the tool without requiring the installation of other languages SDKs. For example, for generating a Java application, we shouldn't need to install Node.js or Python, etc.
How to use Progen?
Progen provides a CLI tool and a desktop app to generate Spring Boot applications.
Progen CLI
You can download the progen CLI binary from https://github.com/sivaprasadreddy/progen/releases.
If you have Go installed on your machine, you can use the following command to install progen:
$ go install github.com/sivaprasadreddy/progen/cmd/progen@latest
$ progen --help
# To use interactive shell
$ progen
# To create progen config file
$ progen init
Generated .progen.json successfully
# Generating a new project using .progen.json configuration
$ progen -c .progen.json
[!IMPORTANT]
Allowing the app to run on macOS
On MacOS, you may get the error "progen cannot be opened because the developer cannot be verified". To fix this, you can select the progen binary in Finder, hold control and click, and select Open. You will then be prompted to confirm that you want to open the binary. After confirming, you can run progen as usual.
Progen Desktop App
Progen Desktop is a native desktop app (built with MyGo) for macOS, Windows and Linux
that uses the same generator as the progen CLI.
Download the archive for your platform from https://github.com/sivaprasadreddy/progen/releases:
| Platform | Archive |
|---|---|
| macOS 12+ (Apple Silicon, Intel) | progen-desktop-<version>-macos.zip |
| Windows 10/11 (x64) | progen-desktop-<version>-windows-amd64.zip |
| Windows 11 (ARM64) | progen-desktop-<version>-windows-arm64.zip |
| Linux (x86-64) | progen-desktop-<version>-linux-amd64.tar.gz |
| Linux (ARM64) | progen-desktop-<version>-linux-arm64.tar.gz |
See the Progen Desktop README for installing it on each platform.
[!IMPORTANT] Progen Desktop releases are not signed with an Apple Developer ID or notarized by Apple, so macOS Gatekeeper blocks the app the first time you open it with a message such as "Apple could not verify “Progen Desktop” is free of malware".
Allowing the app to run on macOS
- Try to open
Progen Desktop.app, then click Done (or OK) on the warning dialog. - Open System Settings → Privacy & Security.
- Scroll down to the Security section. You will see "Progen Desktop" was blocked to protect your Mac. Click Open Anyway.
- Confirm with Open Anyway again and authenticate with your password or Touch ID.
On macOS 14 (Sonoma) and earlier you can instead Control-click (right-click) Progen Desktop.app in Finder,
choose Open, and then click Open in the dialog.
Allowing the app to run on Windows
Progen Desktop releases are not code-signed, so the first time you run Progen Desktop.exe,
Microsoft Defender SmartScreen may show "Windows protected your PC". Click More info, then Run anyway.
Features
The progen generates a Spring Boot application with the following features configured:
| Category | Feature | Details |
|---|---|---|
| Build | Project setup | Spring Boot project with Maven or Gradle |
| Code formatting | Spotless | |
| Task runner | mise (default) or Taskfile (with SDKMAN configuration) to execute commonly used commands | |
| Persistence | Persistence frameworks | Spring Data JPA, Spring JdbcClient, jOOQ |
| Databases | PostgreSQL, MySQL, MariaDB | |
| Database migrations | Flyway or Liquibase | |
| Web & UI | Single Page Apps | Angular, React or Vue (with Vite) and TailwindCSS |
| Server-side Web Apps | Thymeleaf or JTE with TailwindCSS | |
| HTMX | HTMX with htmx-spring-boot | |
| Shadleaf | Shadleaf UI components for Thymeleaf (standalone CSS, no Tailwind), skin from SHADLEAF_SKIN (default vega) |
|
| API documentation | Swagger UI using springdoc-openapi | |
| Security | Web App security | Spring Security configuration |
| REST API security | Spring Security JWT configuration | |
| Architecture | Modular monolith | Spring Modulith configuration |
| Integrations | Messaging | Spring RabbitMQ configuration |
| AWS | Spring Cloud AWS with Floci configuration | |
| Caching | Redis Caching configuration | |
| MailPit and Testcontainers Mailpit | ||
| AI | Spring AI with Ollama, OpenAI and/or Anthropic chat models | |
| Testing | Unit testing | JUnit |
| Integration testing | Testcontainers based testing and local development setup | |
| Local Dev & Deployment | Docker Compose | Docker Compose based local development setup |
| Kubernetes | Kubernetes manifests generated based on the selected features and databases | |
| Monitoring & Tooling | Axelix | Axelix Spring Boot starter and build plugin (optional, Maven and Gradle). |
| BootUI | BootUI | |
| CI & Maintenance | Continuous Integration | GitHub Actions configuration |
| Dependency updates | Renovate |
License
The progen is Open Source software released under the Apache 2.0 License.
Jelajahi proyek terkait
Memuat…