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:
Commit history: https://sallai.tech/release-notes
๐ฅ๏ธ 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
.mdfiles - 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:
๐งช Old Version Preview
๐ Navigation Menu
๐ Project List Page
๐งญ Admin Dashboard
๐ Homepage (Public View)
๐ Latest Post Display
โ๏ธ Post Management (Edit/Delete)
๐ Editing a Post (View 1)
๐ Editing a Post (View 2)
โ Delete Post Confirmation
๐ Create New Post (Part 1)
๐ Create New Post (Part 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















