Skip to content

Professional Spring Boot + Thymeleaf web application. Personal blog with user authentication, role-based access, clean architecture, and future PostgreSQL & Docker support

License

Notifications You must be signed in to change notification settings

MattJavaDeveloper/miniblog-springboot-thymeleaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniBlog (Spring Boot + Thymeleaf Project)

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.


Features

  • ✅ 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

Technologies Used

  • Java 21 ☕
  • Spring Boot 3+
  • Spring Security
  • Spring Data JPA
  • Thymeleaf
  • H2 Database (dev environment)
  • Maven

Project Structure

src/
 ├── main/
 │   ├── java/com/example/miniblog/
 │   │   ├── controller/
 │   │   ├── service/
 │   │   ├── repository/
 │   │   ├── entity/
 │   │   └── config/
 │   └── resources/
 │       ├── templates/
 │       ├── static/
 │       └── application.properties
 └── test/

Status

Project is under active development 🚀


Testing

Run all tests using:

mvn test

Roadmap

  • 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

How to Install and Run the Project

1. Clone the Repository

git clone https://github.com/MattJavaDeveloper/mini-blog-springboot.git
cd mini-blog-springboot

2. Build and Launch the Project

mvn spring-boot:run

⚡ If you don't have Maven Wrapper installed, just use mvn spring-boot:run.

3. Open the Application in Browser

Application will be available at:

http://localhost:8080/

Login page, registration page, and posts will be accessible through the browser.


Community Support

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! 🚀


License

This project is open-source and available under the MIT License.

About

Professional Spring Boot + Thymeleaf web application. Personal blog with user authentication, role-based access, clean architecture, and future PostgreSQL & Docker support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published