Skip to content

A simple 3-tier Java web app built with Spring Boot, MongoDB, and HTML/CSS UI — designed for DevOps learning and CI/CD practice. It features user registration, login, and a post-login dashboard showcasing DevOps tools. Fully containerized using Docker and ready for local or cloud deployment.

License

Notifications You must be signed in to change notification settings

Coding4Deep/3-tier_Spring-Boot_Project

Repository files navigation

3-Tier Spring-Boot App (MongoDB,Memecached,RabbitMQ)

Spring Boot MongoDB RabbitMQ Memcached Docker Maven HTML5 CSS3 Kubernetes

A production-ready Spring Boot microservice powered by MongoDB, RabbitMQ, and Memcached. Designed for scalable backends, async messaging, and ultra-fast caching. Containerized with Docker for seamless deployment

  • ✅ Spring Boot REST APIs
  • ✅ MongoDB Integration
  • ✅ Dockerized Deployment
  • ✅ Docker Compose Orchestration
  • ✅ Clean Maven Project Structure

Project Description

This project showcases a standard 3-tier architecture:

  1. 👨‍💻 Presentation Layer – User interacts via API/UI
  2. ⚙️ Application Layer – Spring Boot backend processes logic
  3. 🗄️ Data Layer – MongoDB for persistent storage

Ideal for DevOps learners, CI/CD pipelines, Docker orchestration, and cloud-native application testing.

Features

  • Light/dark mode toggle
  • Live previews
  • Fullscreen mode
  • Cross platform

Tech Stack

Layer Technology
Frontend (optional) HTML/CSS (planned)
Backend Java 17, Spring Boot
Database MongoDB
Containerization Docker, Docker Compose
Build Tool Maven

Prerequisites

Before you begin, ensure you have:

✅ Java 17+

✅ Maven

✅ Docker

✅ Docker Compose

How to Run the Project

Getting Started:-

Follow these steps to get the project up and running on your machine.


Step 1: Clone the Repository

git clone https://github.com/Coding4Deep/3-tier-spring-mongo.git
cd 3-tier-spring-mongo

Step 2: Build the Spring Boot Application

./mvnw clean package

Step 3: Start Containers via Docker Compose

docker-compose up --build

⏱️ Wait a few seconds for the application and MongoDB to initialize.


Access the Application:-

You can interact with the backend using tools like:

  • 📬 Postman
  • 🌀 Curl
  • 📄 Swagger UI (if integrated)

✅ You're all set! Happy coding! 🙌

Contributing

We welcome contributions, feedback, and feature ideas! Here's how you can get involved:

  1. Fork the Repository
    Click on the fork button to create your own copy.

  2. Create a New Branch

git checkout -b feature/your-feature-name
  1. Make Your Changes
    Improve the code, add features, or fix bugs.

  2. Commit Your Changes

git commit -m "Add: a short meaningful commit message"
  1. Push to GitHub
git push origin feature/your-feature-name
  1. Open a Pull Request
    Navigate to your repo on GitHub and open a PR. Describe your changes and reference any related issues.

Thanks for helping improve this project! 💙

This project is licensed under the MIT License.

About

A simple 3-tier Java web app built with Spring Boot, MongoDB, and HTML/CSS UI — designed for DevOps learning and CI/CD practice. It features user registration, login, and a post-login dashboard showcasing DevOps tools. Fully containerized using Docker and ready for local or cloud deployment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages