Prompt Details
Model
Chat - (gpt-5)
Token size
322 ($0.01006 / call)
Example input
[ProjectDescription]: A REST API for a Library Management System where users can borrow and return books.
Example output
📦 Suggested Package Structure:
com.library
├── controller
│ └── BookController.java
├── service
│ └── BookService.java
├── repository
│ └── BookRepository.java
├── model
│ ├── Book.java
│ ├── User.java
└── config
└── AppConfig.java
🧠 Example Implementation (BookController.java)
@RestController
@RequestMapping("/api/books")
public class BookController {
private final BookService service;
public BookController(BookService service) { this.service = service; }
@GetMapping
public List<Book> getAllBooks() { return service.getAllBooks(); }
}
📘 README Summary
- **Tech Stack**: Java 17, Spring Boot, Maven
- **Run**: `mvn spring-boot:run`
- **Extend**: Add endpoints for borrowing, returning, and user tracking.
By purchasing this prompt, you agree to our terms of service
GPT-5
Turn ChatGPT into a senior Java software architect that instantly generates a full project blueprint — from architecture to folder structure, class design, and setup instructions.
Provide just a short project idea (like “inventory management system”), and get:
✅ Modular package layout (e.g., controller, service, repository)
✅ Entity and class suggestions
✅ Example code for core classes
✅ README-style explanation on how to extend the project
Ideal for backend developers, students, or anyone
...more
Added over 1 month ago
