DEV Community

Cover image for Spring Boot multi-module architecture and Angular frontend for a blog application
coddify
coddify

Posted on

Spring Boot multi-module architecture and Angular frontend for a blog application

We just published a course on Udemy: https://www.udemy.com/course/build-your-blog-from-zero-to-hero/?couponCode=BOOTYOURSKILLS, where we present how to create a multi-module architecture in a Spring Boot and also how to create and put in production a real world application.
We decided to use a clean architecture as a base.

Multi module architecture

We will have 3 modules: core, web and admin. Core is the main module and all the dependencies point towards it. The only dependency from core is ‘javax.validation’, because we need it in annotations (so we just married one dependency). Admin module will use Thymeleaf template engine and it will be an application that runs on your computer — it will allow you to add blog posts. You can write posts with CKEditor. Web module will expose endpoints to retrieve blog posts (also we will implement backend pagination).
The frontend application that will actually display the blogposts will be written in Angular 8.

The result can be found at: http://coddifyblog-env.pcgxyyztrp.eu-west-1.elasticbeanstalk.com/
Thank you very much for your attention and hope this will help you!

Top comments (0)