https://github.com/nvhnam/theblog
A fullstack blog was made with FE: ReactJS | BE: SpringBoot / NodeJS | DB: MySQL
https://github.com/nvhnam/theblog
api backend blog docker frontend mysql nodejs reactjs render spring spring-boot vercel vite
Last synced: 3 months ago
JSON representation
A fullstack blog was made with FE: ReactJS | BE: SpringBoot / NodeJS | DB: MySQL
- Host: GitHub
- URL: https://github.com/nvhnam/theblog
- Owner: nvhnam
- Created: 2024-08-18T16:57:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-02T04:21:11.000Z (about 1 year ago)
- Last Synced: 2026-01-03T12:26:05.870Z (6 months ago)
- Topics: api, backend, blog, docker, frontend, mysql, nodejs, reactjs, render, spring, spring-boot, vercel, vite
- Language: JavaScript
- Homepage: https://theblog-nvhnam.vercel.app
- Size: 2.29 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# โ๏ธ TheBlog โ Fullstack Blogging Platform
A full-featured blogging platform built with modern web technologies. Users can register with email verification, log in securely, and post blogs using a clean, responsive UI. Designed for developers, writers, and learners who want to explore how fullstack apps work with RESTful APIs and MySQL databases.
---
## ๐ Features
- ๐งพ User Registration with Email Verification: Secure account creation via verification codes sent to user emails.
- ๐ Authentication & Authorization: JWT-based login and session handling.
- ๐ Blog Post Creation: Write, edit, and publish personal blog posts using a user-friendly interface.
- ๐ฌ RESTful API: Robust and scalable Spring Boot backend API for blog and user management.
- ๐ Clean UI: Modern, responsive frontend built with ReactJS and TailwindCSS.
---
## ๐ ๏ธ Tech Stack
### ๐ป Frontend
- ReactJS
- TailwindCSS
### ๐ง Backend
- Spring Boot (Java)
- Spring Security + JWT
- Spring Mail (for email verification)
- MySQL (Database)
- Docker (for deployment)
---
## ๐ฆ Setup Instructions
### 1. Clone the Repository
git clone https://github.com/yourusername/TheBlog.git
cd TheBlog
### 2. Setup Backend
cd backend-springboot/TheBlog
๐จ Build the Docker image:
docker build -t yourdockerhub/theblog-backend:v1.20 .
docker push yourdockerhub/theblog-backend:v1.20
๐งช Run Locally (without Docker):
./mvnw spring-boot:run
### 3. Setup Frontend
cd ../client
๐ง Install dependencies:
npm install
๐ Start the development server:
npm run dev
Make sure to update the API base URL in your frontend .env:
VITE_API_URL=http://localhost:8080
---
## CI/CD Status

---
## ๐ Live Demo
You can deploy the backend via Render and frontend via Vercel. Update CORS and .env URLs accordingly for production.
## ๐ค Contributing
Have suggestions or want to collaborate? Feel free to reach out or submit a PR!
- ๐ง Email: nvhnam01@gmail.com
- ๐ Portfolio: https://nguyenviethoangnam.vercel.app/
---
## โญ Support the Project
If you find TheBlog useful, please consider giving it a star โญ and sharing it with others. Your support helps the project grow and reach more learners!