ITKannadigaru
ITKannadigaru is a simple blogging platform built with Java and Spring Boot. It allows users to register, log in, and create posts.
Features
- User Authentication: Users can register for a new account and log in.
- Post Management: Authenticated users can create and delete their own posts.
- Public Feed: The home page displays a feed of all posts from all users.
Project Structure
The project follows a standard Spring Boot application structure:
src/main/java: Contains the main application source code.com.itkannadigaru.controller: Handles incoming web requests.com.itkannadigaru.model: Defines the data models (e.g.,User,Post).com.itkannadigaru.repository: Manages data access and database operations.com.itkannadigaru.service: Contains the business logic.com.itkannadigaru.security: Configures application security.
src/main/resources: Contains application resources.templates: HTML templates for the user interface.application.properties: Configuration file for the application.
Dockerfile: Defines the Docker image for the application.
How to Run
- Build the application:
mvn clean install
- Run the application:
java -jar target/itkannadigaru-webapp-1.0.0.jar
- Access the application:
Open your web browser and go tohttp://localhost:8080.
CI/CD Pipeline
This project is configured with a CI/CD pipeline that automates the build, test, and deployment process. The pipeline is defined in the Jenkinsfile and includes the following stages:
- Checkout: Checks out the latest code from the repository.
- Build: Compiles the Java code and builds the application.
- Test: Runs automated tests to ensure code quality.
- Build Docker Image: Builds a Docker image of the application.
- Push Docker Image: Pushes the Docker image to a container registry.
- Deploy: Deploys the application to a target environment.
On this page
Languages
HTML60.0%Java39.8%Dockerfile0.1%
Contributors
Created November 6, 2025
Updated March 17, 2026