Mo on Life is a personal blog platform where only the admin can create and manage posts. The application is built using Spring Boot, Thymeleaf, and MySQL.
- Create, edit, and view blog posts.
- Add tags to posts and list popular posts by tags.
- Automatically increment post view count.
- Admin-only access for creating and managing posts.
- Backend: Java, Spring Boot, Spring Security, Hibernate
- Frontend: Thymeleaf, HTML, CSS, JavaScript
- Database: MySQL
- Build Tool: Maven
- Clone the Repository:
git clone https://github.com/muhammetcnli/Mo-on-Life.git
cd mo-on-life
- Configure the Database:
- Create a MySQL database named blog_db.
- Update the spring.datasource.username and spring.datasource.password fields in the src/main/resources/application.properties file with your MySQL credentials.
- Install Dependencies:
mvn clean install
- Run the Application:
mvn spring-boot:run
- Access the Application:
- Open your browser and navigate to http://localhost:8080.