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.
- Node.js (Express)
- MongoDB
- Docker
- Docker Compose
- Add users via API
- Fetch users from database
- Mongo Express UI for database management
- Persistent storage using Docker volumes
- Multi-container architecture
git clone <your-repo-link>
cd <repo-name>Docker Hub -> https://hub.docker.com/repositories/saiprasanth201
docker pull saiprasanth201/testapp
docker run -p 5050:5050 saiprasanth201/testapp
docker compose -f mongodb.yaml up -d-
Backend API: http://localhost:5050/getUsers
-
Mongo Express: http://localhost:8081
- 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
- Add React frontend (Full MERN stack)
- Deploy on cloud (AWS / Render)
- Add authentication system
Sai Prasanth