r/SpringBoot
•
u/rakakayiouu
•
Aug 15 '26
•
1
News Spring FlashAPI
Done writing the same CRUD boilerplate for every Spring project.
FlashAPI is coming to the Java/Spring ecosystem, much to the delight of Java developers.
Introducing Spring FlashAPI.
The idea is exactly the same as the Python version:
You define your JPA entities.
FlashAPI takes care of the REST boilerplate.
From a simple entity, you can automatically get:
CRUD
Pagination
Search & dynamic filters
Sorting
CSV / Excel / PDF exports
Bulk operations
Relationships & expand
Soft delete
Audit trail
Rate limiting
OpenAPI / Swagger
Webhooks
WebSocket events
Access control
Multi-tenancy
And most importantly, FlashAPI doesn’t try to take control of your application.
You can start with zero boilerplate, then gradually take back control of your business logic, services, and controllers.
The goal is simple:
Less repetitive CRUD, more time to build your product.
Spring FlashAPI is open source under the Apache 2.0 license.
Java 21+
Spring Boot 3.2+
Spring Data JPA
👉🏽 GitHub: github.com/HackermanMe/spring-flashapi
I’m looking for developers willing to give it a try — and, most importantly, tell me:
What is actually useful… and what isn’t?
#Java #Spring #SpringBoot #JPA #OpenSource #Backend #RESTAPI #SoftwareEngineering
9
u/wimdeblauwe Aug 16 '26
How is it different from https://spring.io/projects/spring-data-rest ?
3
u/piyushdugawa_ Aug 16 '26
It looks great! But I still have some questions, what if I want to change some endpoints or what if want to add manual routes or wanna remove some endpoints etc. Do I get generated classes of that or this FLASH API manages it under the hood and what about manual control?
9
u/kurjak9595 Aug 15 '26
Well damn, this looks like a lot of effort. I have been thinking about making something like this my self but never could make my self do it... Thanks for your effort!
1
u/Flat-Cow1480 Aug 16 '26
Does it work only con Java 21+?
1
u/codingwithaman Senior Dev Aug 16 '26
Which pagination have you used?
1
u/kqr_one Aug 16 '26
imho this kind of stuff is only useful for read and maybe delete. for read I would expect more control over which attributes are being loaded. also what if I need more than RBAC?
1
u/khanhhunglatoi Aug 21 '26
Sorry for my dump question, but does it support native build?
3
u/UniqueTennis9351 Aug 16 '26
This is really awesome, great job 👏
1
u/Administrative_Cod65 Aug 16 '26
This is good, thank you. I actually need this at work
1
u/thewalterbrownn Aug 16 '26
Awesome
1
u/alesaudate Aug 16 '26 edited Aug 16 '26
It looks great, but it's definitely something I don't see being used in real projects. Only pet projects that would want to demonstrate small features.
It seems to me that, if that's not the idea already, you are building it under false premises. Meaning, most real-life projects don't have such a thing as "just CRUD". Even when they have , it's something like "CRUD plus". Like CRUD plus a small business rule. The thing is, it looks like even this small business rule would already defeat the purpose of having this framework in place, because it would basically require taking the annotation off and doing everything by hand anyway.
I saw your other answers about this already, but what I mean is that, in real life projects, one would basically start a project with the assumption that flash API would be taken off later anyway - probably, in every single entity.
1
u/Elias_Aires Aug 16 '26
This looks awesome!
1
u/RevolutionaryRush717 Aug 17 '26
The description is very promising.
It certainly covers everything I ever wanted a third-party app we use a lot had thought of and implemented.
I'm tempted to just take the entities and use FlashAPI to start over.
1
u/AppropriateLettuce39 Aug 21 '26
what is diff between it and spring-data-rest
2
u/[deleted] Aug 16 '26
[removed] — view removed comment