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

18 Commits
 
 
 
 

Repository files navigation

CustomWebApp - Java

📝 Blog Application with Admin Panel & Markdown Support

Powers sallai.tech


  • Real commits on a private repo, as this actively used for https://sallai.tech
  • 🚧 This project is in active development — real progress with real commits:

image

Commit history: https://sallai.tech/release-notes


✨ 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

New Version:

image image image

🧪 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: [email protected]
🌐 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