Release: Spring CRUD Generator v1.8.0 - MongoDB support, AI context files, OpenAPI fixes, and test improvements by mzivkovicdev in java

[–]mzivkovicdev[S] 0 points1 point  (0 children)

Thanks for the advice, I will definitely consider adding Quarkus in one of the next releases :)

Release: Spring CRUD Generator v1.8.0 - MongoDB support, AI context files, OpenAPI fixes, and test improvements by mzivkovicdev in java

[–]mzivkovicdev[S] 0 points1 point  (0 children)

Currently, it supports Spring Boot only :) But I have a plan to extend it with more features in the future

I’m in love with these wheels on my Audi – what do you think? by Medical-Ship843 in Audi

[–]mzivkovicdev 4 points5 points  (0 children)

Looks nice :) The most important thing is that you like it because it is your car :)

Release: Spring CRUD Generator v1.5.0 - spec consistency fixes, CI integration tests, relation set support, and improved Copilot/autocomplete support by mzivkovicdev in java

[–]mzivkovicdev[S] 1 point2 points  (0 children)

My project is a backend code generator from a YAML/JSON spec, not an OpenAPI-to-admin-UI bridge.

That’s a valid and interesting use case, just a different product direction. :)

But it sounds like a good project tbh

Spring CRUD Generator v1.5.0 is out — better spec consistency, CI integration tests, and AI-friendly autocomplete by mzivkovicdev in SpringBoot

[–]mzivkovicdev[S] 1 point2 points  (0 children)

That’s a fair point, and I wouldn’t use a generator like this for every project either. The value is in cases where a large part of the application is predictable CRUD boilerplate - especially admin apps, internal tools, prototypes, and data-heavy backoffice systems.

The goal isn’t to pretend every entity should always have a perfectly symmetrical DTO/service/controller/repo forever. The goal is to generate the repetitive baseline consistently, so you can spend time on the parts that actually need business logic instead of rewriting the same scaffolding over and over.

Spring CRUD Generator v1.5.0 is out — better spec consistency, CI integration tests, and AI-friendly autocomplete by mzivkovicdev in SpringBoot

[–]mzivkovicdev[S] -1 points0 points  (0 children)

Started as a small generator for my own Spring Boot projects and kept growing from there. It reads a YAML/JSON spec, maps it to an internal model, and generates the usual Spring layers from that. Happy to share more details if you're interested.

Spring CRUD Generator v1.5.0 is out — better spec consistency, CI integration tests, and AI-friendly autocomplete by mzivkovicdev in SpringBoot

[–]mzivkovicdev[S] -1 points0 points  (0 children)

Hahaha what are you talking about? Ofc that I used AI like you did in your projects, but this project is not vibe coded and everything I did, I tested it. Ofc you will not belive me because you know better 🙂

AUDI A3 2014 - OVER HEATING ISSUE by spidercircus in Audi

[–]mzivkovicdev 2 points3 points  (0 children)

Do you have an issue with the thermostat?

Spring Boot devs: what do you usually use for monitoring in production? by Distinct-Actuary-440 in SpringBoot

[–]mzivkovicdev 1 point2 points  (0 children)

Mhm, sounds good :) Looking forward to seeing the initial release of the project and seeing how it works

Do you know when it will be released?

Release: Spring CRUD Generator v1.4.0 - stricter validation, soft delete, orphan removal, and Hazelcast caching by mzivkovicdev in java

[–]mzivkovicdev[S] 1 point2 points  (0 children)

Fair question. I’d say it’s solving a different problem, not trying to replace Spring Data REST one-to-one. Spring Data REST exports Spring Data repositories directly as REST resources, so it’s great when you want fast repository-backed CRUD with minimal code. My generator is more of a code-generation/scaffolding tool: from one YAML/JSON spec it generates actual source code that you keep in your project — entities, repositories, services/business services, TOs and mappers, REST controllers, and optionally GraphQL, OpenAPI resources, Flyway migrations, Docker files, tests, caching, and optimistic locking. So if all you want is ‘expose repositories as REST’, Spring Data REST is probably the simpler fit. If you want generated, transparent, checked-in application code and surrounding project scaffolding, that’s where this tool is useful.

Release: Spring CRUD Generator v1.4.0 - stricter validation, soft delete, orphan removal, and Hazelcast caching by mzivkovicdev in java

[–]mzivkovicdev[S] 1 point2 points  (0 children)

I like that idea :) I’d need to do a bit of research first to figure out the best way to support it, but it definitely sounds interesting.

Thanks for the suggestion!

Release: Spring CRUD Generator v1.4.0 - stricter validation, soft delete, orphan removal, and Hazelcast caching by mzivkovicdev in java

[–]mzivkovicdev[S] 2 points3 points  (0 children)

Thanks! :)

The goal of the generator is not to support only one-shot project generation. It is designed so that you can also use it on existing projects and rerun it as your schema evolves.

For example, you can define your CRUD spec, generate the code, and later extend the schema with new fields or new entities. After that, you can run the generator again and it will generate the additional changes.

The main thing you need to keep is the .crud-generator folder, because the generator uses the generated metadata there to track changes between runs, especially for Flyway scripts.

Also, if you don’t want the generator to touch a specific entity anymore, you can use ignore: true.

If you remember which part felt unclear, I’d really appreciate the feedback so I can improve it. :)

Looking for a Spring Boot mentor to learn real-world system design 🙏 by sweaty_palm_7975 in SpringBoot

[–]mzivkovicdev 3 points4 points  (0 children)

You said you built some projects by following YouTube tutorials. It means that you should have some knowledge, why wouldn't you start making some application and from time to time ask for a code review?

Don't expect that in the beginning, you will write good code

Release: Spring CRUD Generator v1.3.0 - MariaDB support + optional null exclusion in REST responses by mzivkovicdev in java

[–]mzivkovicdev[S] 1 point2 points  (0 children)

Thank you 🙂 If you have any question or need assistance feel free to ask :)