{"id":27525612,"url":"https://github.com/ramithaheshan33/user-api-with-docker","last_synced_at":"2026-04-18T06:34:15.645Z","repository":{"id":288044707,"uuid":"966529702","full_name":"RamithaHeshan33/User-Api-With-Docker","owner":"RamithaHeshan33","description":"This project demonstrates how to build a simple RESTful API using Node.js and Express, and how to containerize it using Docker for better deployment and scalability. Ideal for beginners looking to learn backend development and DevOps fundamentals.","archived":false,"fork":false,"pushed_at":"2025-04-15T08:44:16.000Z","size":988,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T02:19:16.668Z","etag":null,"topics":["containerization","docker","docker-image","dockerfile","nodejs"],"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/RamithaHeshan33.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-04-15T04:14:32.000Z","updated_at":"2025-04-15T08:44:19.000Z","dependencies_parsed_at":"2025-04-18T14:50:09.013Z","dependency_job_id":null,"html_url":"https://github.com/RamithaHeshan33/User-Api-With-Docker","commit_stats":null,"previous_names":["ramithaheshan33/user-api-with-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamithaHeshan33%2FUser-Api-With-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamithaHeshan33%2FUser-Api-With-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamithaHeshan33%2FUser-Api-With-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamithaHeshan33%2FUser-Api-With-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamithaHeshan33","download_url":"https://codeload.github.com/RamithaHeshan33/User-Api-With-Docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamithaHeshan33%2FUser-Api-With-Docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259063908,"owners_count":22799737,"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":["containerization","docker","docker-image","dockerfile","nodejs"],"created_at":"2025-04-18T14:27:07.323Z","updated_at":"2026-04-18T06:34:15.589Z","avatar_url":"https://github.com/RamithaHeshan33.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API-Based Containerization with Node.js \u0026 Docker 🐳\n\nThis project is a beginner-friendly tutorial that shows how to build a simple backend API using **Node.js** and **Express.js**, and how to containerize the application using **Docker**.\n\n## 📌 Features\n\n- Simple RESTful API built with Express\n- Live reload using Nodemon\n- Dockerized environment for easy deployment\n- Testable locally and inside a Docker container\n\n---\n\n## 🚀 Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/your-username/node-api-docker.git\ncd node-api-docker\n```\n\n### 2. Install Dependencies\n```bash\nnpm install\n```\n\n### 3. Start the Development Server\n```bash\nnpm start\n```\n\nOpen http://localhost:3000 to test the API locally.\n\n\n## 🐳 Docker Setup\n\n### 1. Build Docker Image\n```bash\ndocker build -t user-api-image:v1 .\n```\n\n### 2. Run Docker Container\n```bash\ndocker run -d --name user-api-container -p 3001:3000 user-api-image:v1\n```\n\nOpen http://localhost:3001 to test the containerized API.\n\n\n## 📁 Project Structure\n```pgsql\nnode-api-docker/\n│\n├── Dockerfile\n├── package.json\n├── index.js\n└── README.md\n```\n\n## 📚 Technologies Used\n- Node.js\n- Express.js\n- Nodemon\n- Docker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framithaheshan33%2Fuser-api-with-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framithaheshan33%2Fuser-api-with-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framithaheshan33%2Fuser-api-with-docker/lists"}