bbt-golang
Technologies Used
GET /
Endpoint to check if the API is accessibleGET /customers
Endpoint to fetch data for all users in the databaseDELETE /clearDB
- Requires a valid bearer token to be sent to reset the databasePOST /identify
Endpoint to identify, categorise, and process an new incoming request.
{
"email": "your_email@example.com",
"phoneNumber": "9090909090"
}
{
"contact": {
"primaryContactId": 1,
"emails": ["your_email@example.com"],
"phoneNumbers": ["9090909090"],
"secondaryContactIds": []
}
}
Build Instructions
-
Clone the repository
git clone https://github.com/diwakarvedant07/duplicate-contact-finder.git
-
Change Directory
cd bbt-golang
-
Build
go build -o dup-finder.exe
-
Run
./dup-finder
-
Misc
Refer to the example.env
file for required environment variables