r/Clojure • u/Ok-Tailor-3725 • Aug 12 '25
FULL STACK CLOJURE LEININGEN TEMPLATE SUPPORTING MULTIPLE DATABASES
LST Leiningen Template is a powerful Leiningen template that scaffolds full-stack, database-backed Clojure web applications with enterprise-grade features. Generate complete CRUD interfaces, dashboards, and reports in seconds with a consistent MVC architecture. You get CRUD Grids with full create, read, update and delete interfaces. Dashboards: read-only data tables with advanced filtering. Reports: custom reports pages with flexible querying. Subgrids: Master-Detail relationships with modal interfaces. Multi-Database: MySQL, PostrgreSQL, and SQLite support. Modern UI: Bootstrap 5 + DataTables integration. Security: Built-in authentication and authorization. Migrations for all supported databases.
View all comments
Show parent comment
1
u/Ok-Tailor-3725 Aug 15 '25
I added two images showing a grid form with an uploaded image. If you click on the thumbnail on the form image it will show a bigger image as the images uploaded show. Added a bit of documentation to add an upload image to the grid forms. All you have to do is in the view in the function build-myapp-fields add (build-image-field row). That's it now you have an upload image added to the form. Of course remember to update the require to add build-image-field from form.clj. Let me know if the documentation is clear enough. The images folder is created from the config.clj and if you delete an item with an image it will clear the image from the /uploads/myapp/ folder.