This project implements a secure, containerized blog application with image handling using Java and Spring Boot.
- Spring Boot 3.4+
- Spring Security (JWT)
- Docker & Docker Compose
- MySQL (MariaDB)
- RESTful communication between services
blogg-service/- blog posts, users, roles, JWT auth, image referencesimage-service/- stores image BLOBs, fetches via RESTdocker-compose.yml- microservices orchestration.env- secrets/config (NOT committed to Git)
docker-compose build
docker-compose upSee deployment/testing section for curl examples
cd blogg-service && mvn spring-boot:run- JWT authentication & authorization
- Role-based access (WRITER, READER, ADMIN)
- Add Swagger UI docs*
- Add Disqus for comments
- CI/CD to production Kubernetes or ECS
*We have noticed that Intellij only has support for Thymeleaf and Swagger when user have an Intellij Ultimate plan. Because of this we have avoided importing these libraries into out project.