Skip to content

Blogging Application is a Java-based platform that allows users to create, edit, and publish blog posts with categories, tags, and comments. It provides a simple interface for content management, making it easy to write and share ideas online.

Notifications You must be signed in to change notification settings

abhigithubgaur/Blog-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Blogging Application

A simple blogging application built with Java and Spring Boot.

Technologies Used

  • Java 21
  • Spring Boot 3.5.5
  • Maven
  • Spring Data JPA
  • Thymeleaf
  • MySQL

Prerequisites

  • Java 21
  • Maven
  • MySQL

How to Run

  1. Clone the repository:
    git clone https://github.com/abhigithubgaur/Blog-Application.git
  2. Create the database:
    • Open MySQL and create a new database named jdbc_db.
  3. Configure the database:
    • Open src/main/resources/application.properties and update the following properties with your MySQL credentials:
      spring.datasource.username=your-username
      spring.datasource.password=your-password
  4. Build the project:
    mvn clean install
  5. Run the application:
    mvn spring-boot:run
  6. Open your browser and navigate to http://localhost:8081

Project Structure

  • src/main/java: Contains the main source code.
    • controller: Contains the Spring MVC controllers.
    • model: Contains the data models.
    • repository: Contains the data repositories.
  • src/main/resources: Contains the application resources.
    • templates: Contains the Thymeleaf templates.
    • application.properties: Contains the application configuration.
  • pom.xml: The Maven project configuration file.

About

Blogging Application is a Java-based platform that allows users to create, edit, and publish blog posts with categories, tags, and comments. It provides a simple interface for content management, making it easy to write and share ideas online.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published