{"id":16782148,"url":"https://github.com/arup-g/profile-app-with-docker","last_synced_at":"2026-04-09T07:09:56.933Z","repository":{"id":221408020,"uuid":"753469900","full_name":"ARUP-G/Profile-app-with-Docker","owner":"ARUP-G","description":"This demo app shows a simple user profile app","archived":false,"fork":false,"pushed_at":"2024-02-09T05:47:39.000Z","size":445,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T21:21:46.523Z","etag":null,"topics":["docker","docker-compose","html","javascript","mongodb","mongoexpress","nodejs"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ARUP-G.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-02-06T07:23:52.000Z","updated_at":"2024-02-07T19:19:46.000Z","dependencies_parsed_at":"2024-02-07T20:32:05.331Z","dependency_job_id":"a1ab0954-14d3-46d6-b73d-1e0a92c7f8c4","html_url":"https://github.com/ARUP-G/Profile-app-with-Docker","commit_stats":null,"previous_names":["arup-g/profile-app-with-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ARUP-G/Profile-app-with-Docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FProfile-app-with-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FProfile-app-with-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FProfile-app-with-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FProfile-app-with-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ARUP-G","download_url":"https://codeload.github.com/ARUP-G/Profile-app-with-Docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FProfile-app-with-Docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259398244,"owners_count":22851405,"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","html","javascript","mongodb","mongoexpress","nodejs"],"created_at":"2024-10-13T07:44:33.998Z","updated_at":"2025-12-30T22:37:17.511Z","avatar_url":"https://github.com/ARUP-G.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Profile app - developing with Docker\n\nThis demo app shows a simple user profile app set up using \n- index.html with pure js and css styles\n- nodejs backend with express module\n- mongodb for data storage\n\nAll components are docker-based\n\n![Structure](images/Profile-app.png)\n\n### With Docker\n\n#### To start the application\n\nStep 1: Create docker network\n\n    docker network create mongo-network \n\nStep 2: start mongodb \n\n    docker run -d -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=password --name mongodb --net mongo-network mongo    \n\nStep 3: start mongo-express\n    \n    docker run -d -p 8081:8081 -e ME_CONFIG_MONGODB_ADMINUSERNAME=admin -e ME_CONFIG_MONGODB_ADMINPASSWORD=password --net mongo-network --name mongo-express -e ME_CONFIG_MONGODB_SERVER=mongodb mongo-express   \n\n_NOTE: creating docker-network in optional. You can start both containers in a default network. In this case, just emit `--net` flag in `docker run` command_\n\nStep 4: open mongo-express from browser\n\n    http://localhost:8081\n\nStep 5: create `user-account` _db_ and `users` _collection_ in mongo-express\n\nStep 6: Start your nodejs application locally - go to `app` directory of project \n\n    npm install \n    node server.js\n    \nStep 7: Access you nodejs application UI from browser\n\n    http://localhost:3000\n\n### With Docker Compose\n\n#### To start the application\n\nStep 1: start mongodb and mongo-express\n\n    docker-compose -f docker-compose.yaml up\n    \n_You can access the mongo-express under localhost:8080 from your browser_\n    \nStep 2: in mongo-express UI - create a new database \"my-db\"\n\nStep 3: in mongo-express UI - create a new collection \"users\" in the database \"my-db\"       \n    \nStep 4: start node server \n\n    npm install\n    node server.js\n    \nStep 5: access the nodejs application from browser \n\n    http://localhost:3000\n\n#### To build a docker image from the application\n\n    docker build -t my-app:1.0 .       \n    \nThe dot \".\" at the end of the command denotes location of the Dockerfile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farup-g%2Fprofile-app-with-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farup-g%2Fprofile-app-with-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farup-g%2Fprofile-app-with-docker/lists"}