{"id":18330236,"url":"https://github.com/azrubael/230207-mongohit","last_synced_at":"2025-04-09T17:42:13.057Z","repository":{"id":155013448,"uuid":"598592464","full_name":"Azrubael/230207-mongohit","owner":"Azrubael","description":"Visit web counter, a MongoDB version","archived":false,"fork":false,"pushed_at":"2023-02-16T18:42:38.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T10:32:19.585Z","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-02-07T12:34:42.000Z","updated_at":"2023-02-07T13:18:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"27fc3d71-d218-4923-9658-d12923ed338d","html_url":"https://github.com/Azrubael/230207-mongohit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230207-mongohit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230207-mongohit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230207-mongohit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azrubael%2F230207-mongohit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azrubael","download_url":"https://codeload.github.com/Azrubael/230207-mongohit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248079482,"owners_count":21044325,"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:15.156Z","updated_at":"2025-04-09T17:42:13.029Z","avatar_url":"https://github.com/Azrubael.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Page hit counter (MongoDB version)\n\nFrom the project directory, download and start MongoDB in a terminal using:\n\n```sh\ndocker-compose up\n```\n\nInstall then start the Node.js page hit application in another terminal:\n\n```sh\nnpm install\nnpm start\n```\n\nStart a web server in another terminal:\n\n```sh\nnpx small-static-server 8888 ./test\n```\n\nVisit \u003chttp://localhost:8888/page1.html\u003e or \u003chttp://localhost:8888/page2.html\u003e to view the page counter. Refresh the page to see it increase.\n\nTo view data, open the Adminer client at \u003chttp://localhost:8080/\u003e with the credentials:\n\n* Server: **host.docker.internal** (or your network IP address)\n* Username: *\n* Password: *\n* Database: *\n\n\n## Shutdown\n\nStop the Docker MongoDB server in a terminal using:\n\n```sh\ndocker-compose down\n```\n\nPress `Ctrl` | `Cmd` + `C` to stop the Node.js application and web server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazrubael%2F230207-mongohit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazrubael%2F230207-mongohit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazrubael%2F230207-mongohit/lists"}