Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-testapp

📌 Overview

This project is a backend application built using Node.js and MongoDB, fully containerized using Docker and Docker Compose.

It demonstrates how to build, run, and manage multi-container applications using Docker.


🛠️ Tech Stack

  • Node.js (Express)
  • MongoDB
  • Docker
  • Docker Compose

⚙️ Features

  • Add users via API
  • Fetch users from database
  • Mongo Express UI for database management
  • Persistent storage using Docker volumes
  • Multi-container architecture

🐳 Docker Setup

1. Clone the repository

git clone <your-repo-link>
cd <repo-name>

Docker Hub -> https://hub.docker.com/repositories/saiprasanth201

2. Run the application

docker pull saiprasanth201/testapp
docker run -p 5050:5050 saiprasanth201/testapp
docker compose -f mongodb.yaml up -d

🌐 Access the application


🧠 What I Learned

  • Docker containerization
  • Docker Compose for multi-container apps
  • Container networking (service names vs localhost)
  • Debugging using Docker logs
  • Image building and pushing to Docker Hub
  • Volume management for persistent data

🚀 Future Improvements

  • Add React frontend (Full MERN stack)
  • Deploy on cloud (AWS / Render)
  • Add authentication system

👨‍💻 Author

Sai Prasanth

About

Dockerized Node.js and MongoDB backend application demonstrating multi-container architecture with Docker Compose, Mongo Express, volumes, and container networking.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages