Skip to content

A modern, full-stack blog platform built with Java Spring Boot, MongoDB, and Thymeleaf. This application features secure admin-protected endpoints for content management, uses MVC pattern

Notifications You must be signed in to change notification settings

csabika98/CustomWebAppJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 

Repository files navigation

CustomWebApp - Java

πŸ“ Blog Application with Admin Panel & Markdown Support

Powers sallai.tech


🚧 This project is in active development β€” real progress with real commits:
Commit History
Recent Updates


✨ Features

πŸ–₯️ Admin Panel

  • Create, edit, and delete blog posts
  • Admin/User role support
  • Dashboard with site activity

πŸ“ Easy Content Management

  • Markdown support – write blog posts as .md files
  • Upload media with drag & drop
  • Schedule posts for future publishing

πŸ‘₯ User Accounts

  • Sign up, log in, and manage profiles securely
  • Users can comment on posts

βš™οΈ Technology Used

  • Backend: Java (Spring Boot)
  • Database: MongoDB
  • Frontend: Thymeleaf + Bootstrap
  • Fully responsive (mobile friendly)

πŸ“Έ Screenshots with Explanations

πŸ§ͺ Old Version Preview

Old Version Part 1


πŸ“‚ Navigation Menu

Dropdown Menu


πŸ“‘ Project List Page

My Projects


🧭 Admin Dashboard

Admin Dashboard


🏠 Homepage (Public View)

Homepage


πŸ†• Latest Post Display

Latest Post


✏️ Post Management (Edit/Delete)

Post Edit/Delete


πŸ“ Editing a Post (View 1)

Post Edit 1


πŸ“ Editing a Post (View 2)

Post Edit 2


❌ Delete Post Confirmation

Post Delete


πŸ†• Create New Post (Part 1)

Create New Post


πŸ†• Create New Post (Part 2)

Create New Post 2


πŸ› οΈ Tech Stack

Backend

  • Java 17
  • Spring Boot 3.x
  • Spring Security
  • MongoDB (via Spring Data)

Frontend

  • Thymeleaf
  • Bootstrap 5
  • Vanilla JavaScript + jQuery

DevOps & Infra

  • Docker
  • CI/CD

πŸ” Security Features

  • Admin/User role permissions
  • CSRF protection
  • Password hashing with BCrypt
  • Secure sessions
  • Input sanitization (XSS protection)

πŸ—‚οΈ Project Structure

com.csabika98.blog/
β”œβ”€β”€ config/
β”œβ”€β”€ controllers/
β”‚   β”œβ”€β”€ AdminController.java
β”‚   β”œβ”€β”€ ApiController.java
β”‚   └── ...
β”œβ”€β”€ models/ 
β”œβ”€β”€ repositories/ 
β”œβ”€β”€ services/
β”œβ”€β”€ util/ 
└── resources/
    β”œβ”€β”€ templates/ 
    β”œβ”€β”€ static/
    └── application.properties

πŸ“‘ API Overview

🌐 Public Endpoints

Method Path Description
GET / Homepage
GET /posts/{slug} View single post
POST /contact Contact form

πŸ” Admin Endpoints

Method Path Description
POST /admin/posts Create post
PUT /admin/posts/{id} Edit post
GET /admin/dashboard Admin dashboard

πŸ‘€ Authentication

Method Path Description
POST /register Register new user
POST /login Log in
POST /logout Log out

πŸ“¬ Contact

Questions or access requests?
πŸ“§ Email: sallcsa.csaba8@gmail.com
🌐 Website: sallai.tech

About

A modern, full-stack blog platform built with Java Spring Boot, MongoDB, and Thymeleaf. This application features secure admin-protected endpoints for content management, uses MVC pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published