r/JavaProgramming • u/EagleResponsible8752 • Feb 26 '26
REST API Generator with Spring Boot
Hi everyone,
I’ve been experimenting with Spring AI and built a small tool that converts natural-language prompts into runnable Spring Boot projects.
The generator creates a basic multi-entity structure including:
Controllers
Services
Repositories
DTOs
Validation
Tests
OpenAPI configuration
Docker setup
The goal is to reduce boilerplate and standardize project structure when starting new APIs.
It’s still evolving, and I’d really appreciate feedback from the community — especially around architecture decisions and Spring best practices.
If you're interested, the repository is on GitHub under:rrezartprebreza/rest-api-generator
Happy to hear suggestions or criticism.
2
Mar 02 '26
[removed] — view removed comment
1
u/EagleResponsible8752 Mar 02 '26
Please, Go and check it and you can see everything in readme how to use and please feel free to improve if you see something. Thanks
2
u/pranavkdileep Feb 26 '26
this is actually fire. spring boot boilerplate is a mood lol. does it handle entity relationships (like u/OneToMany) through the prompt yet or just flat structures? definitely checking out the repo tho, nice work!