Natural language → Production-ready API

Generate Spring Boot APIs
in 30 seconds

Type a plain-English description. Get a complete ZIP with Entity, DTO, Service, Controller, Repository, MapStruct mapper, pagination, error handling, and Docker setup.

Designed for developers who want to move from idea to runnable backend faster — with less repetitive setup and a smoother starting point.

~30s
vs 2–3 hrs manual
8+
layers generated
100%
runnable output
0
install needed
Start Building See what gets generated
checking…
1
Write Prompt
Describe your entities
2
Generate Spec
POST /generator/spec
3
Download ZIP
POST /generator/code
PROMPT
Separate entities with blank lines
 generate
Ready — write a prompt and click Generate Spec
Prompt & Spec History
0 / 20
No history yet. Generate a spec to save it.
Entity Relationship Graph
No spec loaded
Generate a spec to see entity relationships.
Validation & Diagnostics
No validation issues yet.
No fix suggestions yet.
JSON SPEC
Entities will appear here…
📋
JSON specification will appear here
GENERATED FILES
File tree will appear here…
📁
Generated file tree will appear here

⌨️ Keyboard Shortcuts

Editor
Generate Spec ⌘↩ / Ctrl↩
Clear All ⌘K
Command Palette ⌘P
Navigation
Scroll to Spec ⌘1
Scroll to History ⌘2
Scroll to Files ⌘3
Other
Help ?
Close Help/Palette Esc
// what gets generated

Everything you’d write by hand — done for you

Every layer of a production Spring Boot 3 API, generated and wired together from a single plain-English prompt.

🏗️
Full Layer Stack
Entity · DTO · Repository · Service · Controller — all wired, ready to run.
🔗
JPA Relationships
@ManyToOne · @OneToMany · @ManyToMany with join tables, FetchType.LAZY, cascade.
Bean Validation
@NotNull · @Email · @Min · @Max · @Size — extracted automatically.
📄
Pagination & Filtering
JpaSpecificationExecutor + PagedResponse. Sortable, filterable endpoints.
🗺️
MapStruct Mappers
Generated <Entity>Mapper interface for clean DTO ↔ Entity conversion.
🐳
Docker Ready
Dockerfile + docker-compose.yml with PostgreSQL/MySQL + Adminer UI.
🚨
Error Handling
GlobalExceptionHandler · ErrorResponse · ResourceNotFoundException — pre-wired.
🧪
Test Scaffolding
Generated unit and integration test stubs per entity, ready to fill.
// self-host

Run it your way

Docker with Ollama or source build — simple local setup.

Run locally — how to start
# A) Run this GENERATOR app
docker run -p 8080:8080 ghcr.io/rrezartprebreza/rest-api-generator:latest

# B) With Ollama LLM (~2 GB disk)
docker compose --profile llm up --build
docker exec rest-api-generator-ollama-1 ollama pull llama3.2

# C) Build from source
git clone https://github.com/rrezartprebreza/rest-api-generator
cd rest-api-generator && ./gradlew run --args="serve --port 8080"

# D) Run YOUR generated Spring Boot app
unzip scaffold.zip -d my-api && cd my-api
./gradlew bootRun
From prompt to project, with less friction.

This tool is built to help you spend less time on repetitive scaffolding and more time on domain logic, architecture, and shipping useful features.

Run it locally, self-host it for your team, and enjoy building.