{"id":21991123,"url":"https://github.com/adebsalert/gronda-event-tracking-api","last_synced_at":"2026-05-04T09:34:08.290Z","repository":{"id":95620754,"uuid":"339113352","full_name":"AdebsAlert/gronda-event-tracking-api","owner":"AdebsAlert","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-15T15:06:58.000Z","size":10396,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-22T19:42:48.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/AdebsAlert.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":"2021-02-15T15:03:27.000Z","updated_at":"2021-02-15T15:07:00.000Z","dependencies_parsed_at":"2023-05-21T03:30:42.104Z","dependency_job_id":null,"html_url":"https://github.com/AdebsAlert/gronda-event-tracking-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AdebsAlert/gronda-event-tracking-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fgronda-event-tracking-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fgronda-event-tracking-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fgronda-event-tracking-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fgronda-event-tracking-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdebsAlert","download_url":"https://codeload.github.com/AdebsAlert/gronda-event-tracking-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fgronda-event-tracking-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-29T20:06:59.150Z","updated_at":"2026-05-04T09:34:08.276Z","avatar_url":"https://github.com/AdebsAlert.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gronda Event Tracker API\n\n## Installation\n\n- Install NodeJS, MongoDB\n- Install `npm` or `yarn`\n- Rename `.env.example` to `.env`\n- Edit variables in `.env`\n- Run `npm install`\n- Start MongoDB\n- Run `yarn run dev` or `npm run dev`\n- Check `http://localhost:3000/api/status` to see it works and for health check\n\n## Database - MongoDB. Why?\n\n- Flexibility: with mongodb its easy to store and incorporate data of any structure and allow vital adjustments of the schema without impacting performance.\n- Scalability and performance: With a NoSQL database; it has been built to scale, they all include sharding - which is a method for distributing data across multiple datasets, and partitioning - breaking down data into chunks. This allows the database to scale.\n- Speed - As MongoDB is a document-oriented database, it is easy to access your documents by indexing. This provides a faster query response. Some research has shown that the speed of MongoDB could be 100x faster than a relational database.\n\n\n# Architecture\n\n## Architecture Overview:\n- Design pattern - Monolithic\n- Programming language - JavaScript/Nodejs\n- Database - MongoDB\n\n## Architecture Details:\n- Design pattern - Monolithic: a single backend codebase that will contain all the functions of the system, separated as modules but connected. E.g, event module will feed functionalities on the analytics management.\n\n- Programming language - JavaScript/Nodejs: backend codebase will be written in Nodejs.\n\n- Database - MongoDB: Datastore is MongoDB and indexing will be enabled to support efficient execution of DB queries.\n\n## Architecture Diagram:\n![architecture diagram](https://i.ibb.co/bKHcWVS/Screenshot-2021-02-15-at-12-59-26-PM.png)\n\n# Routes\n- POST `baseUrl/api/v1/event` - create a new event\n{\n    client: 'macbook pro 2020',\n    receiver: 'web',\n    event_name: 'loginButtonClick',\n    event_identifier: Math.random().toString(36).substring(2, 15)\n}\n\n- GET `baseUrl/api/v1/analytics?` - get analytics\n- params - skip = 20, limit = 10, data = count|data, client = '', event_name = ''\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadebsalert%2Fgronda-event-tracking-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadebsalert%2Fgronda-event-tracking-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadebsalert%2Fgronda-event-tracking-api/lists"}