{"id":18330218,"url":"https://github.com/azrubael/230716-mongo-node","last_synced_at":"2025-04-09T17:41:56.245Z","repository":{"id":181586569,"uuid":"666999031","full_name":"Azrubael/230716-mongo-node","owner":"Azrubael","description":"A  simple Node.js application that connects to a containerized MongoDB DBMS.","archived":false,"fork":false,"pushed_at":"2023-07-17T09:55:33.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T10:32:18.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Azrubael.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}},"created_at":"2023-07-16T09:55:03.000Z","updated_at":"2023-07-16T09:55:30.000Z","dependencies_parsed_at":"2025-02-15T10:39:33.894Z","dependency_job_id":null,"html_url":"https://github.com/Azrubael/230716-mongo-node","commit_stats":null,"previous_names":["azrubael/230716-mongo-node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230716-mongo-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230716-mongo-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230716-mongo-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230716-mongo-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azrubael","download_url":"https://codeload.github.com/Azrubael/230716-mongo-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248079404,"owners_count":21044308,"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":[],"created_at":"2024-11-05T19:21:08.591Z","updated_at":"2025-04-09T17:41:56.226Z","avatar_url":"https://github.com/Azrubael.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A sample project with a simple Node.js application that connects to a containerized MongoDB DBMS.\n\n* To start application:\n[1] - create a '.env' file with credentials\n```bash\n    $ cat .env\n# node.js app's configuration\nEXPRESS_PORT=8001\n# mongodb app's configuration\nMONGO_INITDB_HOST=localhost\nMONGO_INITDB_ROOT_USERNAME=user\nMONGO_INITDB_ROOT_PASSWORD=pass\nMONGO_INITDB_PORT=27017\nMONGO_INITDB_DATABASE=app\n```\n\n[2] - In the first bash terminal\n```bash\n    $ docker compose up\n```\n\n[3] - In the second bash terminal\n```bash\n    $ npm run start\n```\n\n\n* To correctly stop application do not forget\n```bash\n    $ docker compose down\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazrubael%2F230716-mongo-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazrubael%2F230716-mongo-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazrubael%2F230716-mongo-node/lists"}