generic and custom html page for all controller and service?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

generic and custom html page for all controller and service?

Juliette
Hi, I'm developping a big application in spring-boot, thymeleaf, spring-data-jpa and rest. so, i have more than 300 tables, 300 repository,and 300 services , controllers and it increases. My question is coming: what i dont want to do is: not creating more than 300 html page to view each table. How can make a one html page for all thoses table?i want only one common html page. because if i have to create more than 300 page i will be very difficult and it will take a lot of time. image i have a list of products for product table and list of customers for custom table. How can i iterate over each list in one and common html page? i know to iterate over a normal list but how we can do for more than 300 list of other table? If it's not possible with thymleaf please give me an idea or github to test. Thanks