Welcome!
This is an open-source Java web application designed to serve as a full-featured MiniBlog platform, built with Spring Boot and Thymeleaf. It is structured for professional development and portfolio enhancement.
- ✅ User registration and authentication
- ✅ Personal blog (each user sees only their posts)
- ✅ Role-based access control (USER / ADMIN)
- ✅ Clean MVC architecture (Controller - Service - Repository - Entity)
- ✅ Spring Security integration
- ✅ Modern Java 21 features utilized
- ✅ Ready for PostgreSQL and Docker deployment
- Java 21 ☕
- Spring Boot 3+
- Spring Security
- Spring Data JPA
- Thymeleaf
- H2 Database (dev environment)
- Maven
src/
├── main/
│ ├── java/com/example/miniblog/
│ │ ├── controller/
│ │ ├── service/
│ │ ├── repository/
│ │ ├── entity/
│ │ └── config/
│ └── resources/
│ ├── templates/
│ ├── static/
│ └── application.properties
└── test/
Project is under active development 🚀
Run all tests using:
mvn test
- Setup project structure
- Implement user registration and login
- Restrict posts to the author's account
- Add role-based access control
- Switch database to PostgreSQL
- Enable image upload for posts
- Create Dockerfile and docker-compose support
- Deploy to a production environment
git clone https://github.com/MattJavaDeveloper/mini-blog-springboot.git
cd mini-blog-springboot
mvn spring-boot:run
⚡ If you don't have Maven Wrapper installed, just use mvn spring-boot:run
.
Application will be available at:
http://localhost:8080/
Login page, registration page, and posts will be accessible through the browser.
We warmly welcome any contributions, ideas, or feedback!
Feel free to:
- Fork this repository
- Create issues
- Submit pull requests
- Suggest improvements
Together we make open-source better! 🚀
This project is open-source and available under the MIT License.