# README
identity_reconciliation
Bitespeed Backend Task: Identity Reconciliation
Tech Stack Used Programming - Golang packages and frameworks - Gorilla Mux, gorm Databases - PostGreSQL Deployment - rendor.com BaseUrl - https://identity-reconciliation-gq7z.onrender.com/ Service Route - bitespeed/identity_reconciliation/v1
Apis---> Health Check API -->
Get all contacts --->
end point - /contact/getAll
reference curl:
curl --location 'https://identity-reconciliation-gq7z.onrender.com/bitespeed/identity_reconciliation/v1/contact/getAll'
--header 'Content-Type: application/json'
--data '{
"start":0,
"end":-1
}'
response: [ { "id": 37, "phoneNumber": "", "email": "[email protected]", "linkedId": 0, "linkPrecedence": "primary", "createdAt": "2024-02-22T13:24:16.324908Z", "updatedAt": "2024-02-22T13:24:16.324908Z", "deletedAt": null } ]
Identify Contacts -
endpoint - /contact/identify
reference curl:
curl --location 'https://identity-reconciliation-gq7z.onrender.com/bitespeed/identity_reconciliation/v1/contact/identify'
--header 'Content-Type: application/json'
--data-raw '{
"email":"[email protected]",
"phoneNumber": "717171"
}'
response: { "contact": { "primaryContactId": 38, "emails": [ "[email protected]" ], "phoneNumbers": [ "717171" ], "secondaryContactIds": null } }
to run it in local follow the below steps step 1 clone the repo: git clone - https://github.com/suresh024/identity_reconciliation.git
step -2 add config file: cd identity_reconciliation ---> come to repo path vi Config.env
PSQL_DB_URL= please reach out to me for db url PORT=4993
step -3 start server: go run main.go
Please reach out to me for config data
Name - suresh LinkedIn - https://www.linkedin.com/in/sureshchalla024/ Naukari - https://www.naukri.com/mnjuser/profile?id=&altresid Skills - Golang, Python, MongoDBDb, MySQL, Kafka, Redis, JS, ReactJS as a tech enthusiast Willing to learn new technologies
Please contact on [email protected] for more info