{"id":15175261,"url":"https://github.com/takumade/user-event-tracker","last_synced_at":"2025-10-26T10:31:25.796Z","repository":{"id":254715237,"uuid":"847338151","full_name":"takumade/user-event-tracker","owner":"takumade","description":"A microservice for tracking user events","archived":false,"fork":false,"pushed_at":"2024-09-03T22:52:20.000Z","size":225,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T18:15:16.687Z","etag":null,"topics":["event","express","mongodb","node","react","refine","tracker"],"latest_commit_sha":null,"homepage":"https://github.com/takumade/user-event-tracker","language":"TypeScript","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/takumade.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":"2024-08-25T14:43:41.000Z","updated_at":"2024-09-03T22:52:24.000Z","dependencies_parsed_at":"2024-08-27T22:52:54.622Z","dependency_job_id":null,"html_url":"https://github.com/takumade/user-event-tracker","commit_stats":null,"previous_names":["takumade/user-event-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumade%2Fuser-event-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumade%2Fuser-event-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumade%2Fuser-event-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumade%2Fuser-event-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takumade","download_url":"https://codeload.github.com/takumade/user-event-tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310333,"owners_count":19450841,"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":["event","express","mongodb","node","react","refine","tracker"],"created_at":"2024-09-27T12:21:00.534Z","updated_at":"2025-10-26T10:31:20.482Z","avatar_url":"https://github.com/takumade.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Event Tracker\n\nA microservice for tracking events. This microservice allows you to add, manage and retrieve user related events.\n\n\n## Applications\n- User Behavior Analysis\n- Personalization and Recommendation\n- A/B Testing and Experimentation\n- Marketing and Campaign Tracking\n- Customer Support and Troubleshooting\n- User Retention and Engagement\n- Performance Monitoring and Optimization\n- Security and Fraud Detection\n- Compliance and Auditing\n- Feature Usage Tracking\n\n## Tech Stack\n- Express JS (Server)\n- Mongo DB (Database)\n- Refine (Dashbaord)\n- Docker (Containerization)\n- Jest (testing)\n\n## Installation (Server)\n\n**1. Clone the repo**\n```sh\ngit clone https://github.com/takumade/user-event-tracker\n```\n\n**2. Install Dependencies**\n```sh\ncd user-event-tracker \u0026\u0026 npm i\n```\n\n**3. Configure and run**\n\nConfig you `.env` file\n\n```env\nPORT=3000\nMONGOOSE_URL=\u003cmongo-url\u003e\n```\n\nAnd run\n```sh\nnpm run start\n```\n\n**4. Seeding (optional)**\n\nYou can seed the database by running the following command\n\n```sh\nnpm run seed\n```\n\n\n## Installation (Dashboard)\n\n**1. Clone the repo**\n```sh\ngit clone https://github.com/takumade/user-event-tracker\n```\n\n**2. Install Dependencies**\n\nIn `user-event-tracker` folder do this\n```sh\ncd dashboard \u0026\u0026 npm i\n```\n\n**3. Run**\n\nAnd run\n```sh\nnpm run start\n```\n\n## Containerizing\n\nYou can also run this app in a docker container.\n\n### Server\n\n**1. Review and add changes**\nReview  the Dockerfile and build.sh scripts and edit some changes\n\n**2. Build the script**\nMake the script executable:\n\n```sh\nchmod +x build.sh\n```\n\nRun it:\n\n```sh\n./build.sh\n```\n\n### Dashboard\n\n**1. Navigate to dashboard directory**\nGo to the dashbaord folder\n\n```sh\ncd dashbaord\n```\n\n**2. Build the script and run**\n\nThere are two methods to do so\n- `Dockerfile.serve:` Uses serve package. https://www.npmjs.com/package/serve\n- `Dockerfile.nginx:` Uses nginx with Gzip config for better performance.\n\n\n```sh\ndocker build -t dashboard -f ./Dockerfile.nginx .\n\ndocker run -p 5173:80 dashboard\n\n# or\n\ndocker build -t vite -f ./Dockerfile.serve .\n\ndocker run -p 5173:3000 vite\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakumade%2Fuser-event-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakumade%2Fuser-event-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakumade%2Fuser-event-tracker/lists"}