A full-stack Reddit-inspired web application where users can create posts, join communities, and interact through comments and voting.
This project demonstrates end-to-end development using Spring Boot (backend) and Angular (frontend).
- Java
- Spring Boot
- Spring Security + JWT Authentication
- Hibernate / JPA
- REST APIs
- Angular
- TypeScript
- Bootstrap / Custom CSS
- Frontend: Angular SPA
- Backend: Spring Boot REST API
- Auth: JWT-based authentication
- Database: MySQL
Frontend communicates with backend via REST APIs.
- User Signup & Login
- JWT-based authentication
- Secure API endpoints
- Create, view, and delete posts
- Global feed
- View posts by user
- Add comments to posts
- View all comments per post
- Upvote / Downvote functionality
- Real-time vote updates
- Create and browse communities
- View posts by community
- View user-specific posts
- Navigate to user profiles
reddit-app/
│
├── backend/ # Spring Boot application
├── frontend/ # Angular application
├── docs/
│ └── screenshots/
│ ├── create-post.png
│ ├── create-subreddit.png
│ ├── home.png
│ ├── login.png
│ └── profile.png
└── README.md
| Home Feed | Login Page |
|---|---|
![]() |
![]() |
| Create Post | Create Subreddit |
|---|---|
![]() |
![]() |
cd backend
mvn clean install
mvn spring-boot:runRuns on: http://localhost:8080
cd frontend
npm install
ng serveRuns on: http://localhost:4200
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/signup | Register user |
| POST | /api/auth/login | Login user |
| GET | /api/posts | Get all posts |
| POST | /api/posts | Create post |
| POST | /api/comments | Add comment |
- Implemented JWT-based authentication and authorization
- Built scalable REST APIs using Spring Boot
- Applied component-based architecture in Angular
- Managed state and routing in frontend
- Designed full-stack integration between frontend and backend
- Edit/Delete comments
- Real-time notifications
- Infinite scrolling feed
- Dark mode UI
- Deployment (AWS / Docker)
Sanket Bagul UX Designer & Developer
If you like this project, give it a star on GitHub!



