DEV Community

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

Posted on

2

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!

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series