{"id":15095957,"url":"https://github.com/kunal768/bitespeed","last_synced_at":"2026-01-08T11:51:02.518Z","repository":{"id":241171776,"uuid":"804316752","full_name":"kunal768/bitespeed","owner":"kunal768","description":"API - Linking multiple contact informations to the same person using primary and secondary contacts","archived":false,"fork":false,"pushed_at":"2024-06-07T13:32:41.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T11:45:26.196Z","etag":null,"topics":["gin-gonic","golang","postgresql"],"latest_commit_sha":null,"homepage":"https://www.notion.so/bitespeed/Bitespeed-Backend-Task-Identity-Reconciliation-53392ab01fe149fab989422300423199","language":"Go","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/kunal768.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-05-22T11:17:44.000Z","updated_at":"2024-06-07T13:33:06.000Z","dependencies_parsed_at":"2024-06-07T15:12:14.828Z","dependency_job_id":null,"html_url":"https://github.com/kunal768/bitespeed","commit_stats":null,"previous_names":["kunal768/bitespeed"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunal768%2Fbitespeed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunal768%2Fbitespeed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunal768%2Fbitespeed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunal768%2Fbitespeed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kunal768","download_url":"https://codeload.github.com/kunal768/bitespeed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301955,"owners_count":20755512,"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":["gin-gonic","golang","postgresql"],"created_at":"2024-09-25T15:44:16.685Z","updated_at":"2026-01-08T11:51:02.480Z","avatar_url":"https://github.com/kunal768.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Code for [Bitespeed challenge](https://www.notion.so/bitespeed/Bitespeed-Backend-Task-Identity-Reconciliation-53392ab01fe149fab989422300423199) --\u003e\n\nLinking multiple contact informations to the same person using primary and secondary contacts\n\n# To Build\n\n```shell\ngo build -o bitespeed\n```\n\n# To Run \n\n```shell\n./bitespeed\n```\n\n# Example Request  \n\n```json\n{\n\t\"email\": \"babu1@digital.com\",\n\t\"phoneNumber\": \"898991\"\n}\n```\n\n# Example Response\n\n```json\n{\n    \"primaryContatctId\": 46,\n    \"emails\": [\n        \"babu1@digital.com\"\n    ],\n    \"phoneNumbers\": [\n        \"898991\"\n    ],\n    \"secondaryContactIds\": []\n}\n```\n\n# Example Request  \n\n```json\n{\n\t\"email\": \"random@pennyworth.edu\",\n\t\"phoneNumber\": \"898991\"\n}\n```\n\n# Example Response\n\n```json\n{\n    \"primaryContatctId\": 51,\n    \"emails\": [\n        \"babu1@digital.com\",\n        \"random@pennyworth.edu\"\n    ],\n    \"phoneNumbers\": [\n        \"898991\",\n        \"898991\"\n    ],\n    \"secondaryContactIds\": [\n        52\n    ]\n}\n```\n\n# Example Request  \n\n```json\n{\n\t\"email\": \"random@pennyworth.edu\",\n\t\"phoneNumber\": \"123456\"\n}\n```\n\n# Example Response\n\n```json\n{\n    \"primaryContatctId\": 52,\n    \"emails\": [\n        \"random@pennyworth.edu\",\n        \"random@pennyworth.edu\"\n    ],\n    \"phoneNumbers\": [\n        \"898991\",\n        \"123456\"\n    ],\n    \"secondaryContactIds\": [\n        52,\n        53\n    ]\n}\n```\n\n\n# Example Request  \n\n```json\n{\n\t\"phoneNumber\": \"123456\"\n}\n```\n\n# Example Response\n\n```json\n{\n    \"primaryContatctId\": 53,\n    \"emails\": [\n        \"random@pennyworth.edu\"\n    ],\n    \"phoneNumbers\": [\n        \"123456\"\n    ],\n    \"secondaryContactIds\": [\n        53\n    ]\n}\n```\n\n# Example Request  \n\n```json\n{\n\t\"email\": \"random@pennyworth.edu\"\n}\n```\n\n# Example Response\n\n```json\n{\n    \"primaryContatctId\": 51,\n    \"emails\": [\n        \"babu1@digital.com\",\n        \"random@pennyworth.edu\"\n    ],\n    \"phoneNumbers\": [\n        \"898991\",\n        \"898991\"\n    ],\n    \"secondaryContactIds\": [\n        52\n    ]\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunal768%2Fbitespeed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkunal768%2Fbitespeed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunal768%2Fbitespeed/lists"}