{"id":28857983,"url":"https://github.com/km-saifullah/hello-app","last_synced_at":"2026-04-02T18:52:58.997Z","repository":{"id":294029315,"uuid":"985774823","full_name":"km-saifullah/hello-app","owner":"km-saifullah","description":"This is a repository to practice docker compose with a simple express app with mongoDB","archived":false,"fork":false,"pushed_at":"2025-05-18T15:00:06.000Z","size":3355,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T15:32:06.615Z","etag":null,"topics":["docker","docker-compose","express","mongodb"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/km-saifullah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-18T13:58:30.000Z","updated_at":"2025-05-18T15:00:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"77178ede-5f7f-4f41-bbf4-4811a3146910","html_url":"https://github.com/km-saifullah/hello-app","commit_stats":null,"previous_names":["km-saifullah/hello-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/km-saifullah/hello-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/km-saifullah%2Fhello-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/km-saifullah%2Fhello-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/km-saifullah%2Fhello-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/km-saifullah%2Fhello-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/km-saifullah","download_url":"https://codeload.github.com/km-saifullah/hello-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/km-saifullah%2Fhello-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260862922,"owners_count":23074182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","express","mongodb"],"created_at":"2025-06-20T02:04:07.911Z","updated_at":"2025-12-30T22:28:57.070Z","avatar_url":"https://github.com/km-saifullah.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hello Express App with MongoDB (Dockerized) 💥\n\nA simple Express.js application using MongoDB, fully containerized with Docker and Docker Compose. This project demonstrates how to use Mongoose to store and update data inside a MongoDB container.\n\n## 📦 Features\n\n- Express.js server (ES Modules)\n- MongoDB (running in a separate Docker container)\n- One route `/api/v1/welcome` to:\n  - Store message `\"hello universe\"`\n  - Increment a counter each time it’s accessed\n- Fully containerized using Docker Compose\n\n## 🛠️ Prerequisites\n\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## ⚙️ Build and run containers\n\n**Step-1:** Clone the Repository\n\n```bash\ngit clone https://github.com/km-saifullah/hello-app.git\n```\n\n**Step-2:** Build and runs containers\n\n```bash\ndocker-compose up --build\n```\n\n**Note**: This builds and runs both the express-app and mongo-db containers\n\n**Step-3:** View Logs\n\n```bash\ndocker-compose logs app\ndocker-compose logs mongo\n```\n\n**Step-4:** Stop and remove containers\n\n```bash\ndocker-compose down\n```\n\n**Note**: When we want to stop the containers we need to run the above commnad only.\n\n## 🔥 API Endpoints\n\n1. Root route: http://localhost:8000/\n2. Welcome Message Route: http://localhost:8000/api/v1/welcome\n\n## 🚀 Test\n\n```bash\ncurl http://localhost:8000/api/v1/welcome\n```\n\n## 🙋‍♂️ Author\n\nKhaled Md Saifullah \u003cbr\u003e\nBackend Developer\n\nFollow me on:\n\n- [Linkedin](https://www.linkedin.com/in/kmsaifullah)\n- [Github](https://github.com/km-saifullah)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkm-saifullah%2Fhello-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkm-saifullah%2Fhello-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkm-saifullah%2Fhello-app/lists"}