{"id":23605813,"url":"https://github.com/azkarmoulana/serverless-analytics-api","last_synced_at":"2026-04-13T01:36:21.077Z","repository":{"id":115462074,"uuid":"373915517","full_name":"azkarmoulana/serverless-analytics-api","owner":"azkarmoulana","description":":zap: :zap: Serverless Analytics API for real time dashboard","archived":false,"fork":false,"pushed_at":"2021-06-04T17:58:43.000Z","size":138,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T21:35:15.368Z","etag":null,"topics":["aws","dynamodb","lambda","node","serverless","typescript"],"latest_commit_sha":null,"homepage":"","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/azkarmoulana.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-06-04T17:29:04.000Z","updated_at":"2023-03-08T03:00:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddb373ab-7c4c-4b7a-b850-eaaf0c340950","html_url":"https://github.com/azkarmoulana/serverless-analytics-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/azkarmoulana/serverless-analytics-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azkarmoulana%2Fserverless-analytics-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azkarmoulana%2Fserverless-analytics-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azkarmoulana%2Fserverless-analytics-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azkarmoulana%2Fserverless-analytics-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azkarmoulana","download_url":"https://codeload.github.com/azkarmoulana/serverless-analytics-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azkarmoulana%2Fserverless-analytics-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267490482,"owners_count":24095971,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["aws","dynamodb","lambda","node","serverless","typescript"],"created_at":"2024-12-27T13:13:21.513Z","updated_at":"2026-04-13T01:36:21.027Z","avatar_url":"https://github.com/azkarmoulana.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e:zap::zap: Serverless Analytics API\u003c/h1\u003e\n\u003chr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"800\" src=\"https://i.imgur.com/DJnko7G.png\" alt=\"architecture diagram\"\u003e\n\u003c/p\u003e\n\nAPI to capture time series data from client application to genarate relevant metrics for real time dashboard\n***\n\u003cbr\u003e\n\n### How to run the app locally\n1. Clone the repository\n2. Navigate to the project folder\n3. Run `npm install` to install all the required dependencies\n4. Run `sls dynamodb install` to install DynamoDB local plugin(You need to have installed JRE(Java Runtime Environment) in your local machine)\n5. Run `npm run start:dev` to start the serverless offline application locally\n\n### API endpoints\n**Request**\n- Path: `/{STAGE}/metrics`  \n- Method: `POST`  \n- Required parameters:  \n  - Need to add the required header values in request header\n  \n**Response**\n- API returns the `201` on success\n\n### Running unit tests  \nUnit tests are written using [Jest](https://jestjs.io/)\n1. Run `npm run test` to run the unit tests(Make sure to run the serverless offline application in background)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkarmoulana%2Fserverless-analytics-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazkarmoulana%2Fserverless-analytics-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkarmoulana%2Fserverless-analytics-api/lists"}