DEV Community

Rrezart Prebreza
Rrezart Prebreza

Posted on

REST API Generator

After days of work, REST API Generator is now live on a public test server.

👉 https://rest-api-generator-ag0z.onrender.com

No install. No account. Open it in your browser, write a plain-English description of your API, and get a complete Spring Boot 3 project in 30 seconds.

Example:
"Create an API for Product with name, price (decimal, min 0), belongs to Category"

What gets generated:
→ Entity (JPA, auditing, relationships)
→ DTO (Bean Validation from your prompt)
→ Service (@Transactional, pagination, filter)
→ Controller (proper HTTP status codes, @valid)
→ Repository (JpaSpecificationExecutor)
→ MapStruct Mapper
→ GlobalExceptionHandler (404, 400, 500)
→ Flyway migration SQL
→ Dockerfile + docker-compose.yml
→ Unit tests + MockMvc integration tests

I am actively improving it and I would love your feedback.

Does it work for your use case?
What is missing?
What would make this useful for your team?

🔗 https://rest-api-generator-ag0z.onrender.com
📦 https://github.com/rrezartprebreza/rest-api-generator

Top comments (0)