duplicate-contact-finder

command module
v0.0.0-...-6237558 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 9 Imported by: 0

README

bbt-golang

Technologies Used

  • Go
  • SQLite
  1. GET / Endpoint to check if the API is accessible
  2. GET /customers Endpoint to fetch data for all users in the database
  3. DELETE /clearDB - Requires a valid bearer token to be sent to reset the database
  4. POST /identify Endpoint to identify, categorise, and process an new incoming request.
  • Input:
{
    "email": "your_email@example.com",
    "phoneNumber": "9090909090"
}
  • Output Format:
{
    "contact": {
        "primaryContactId": 1,
        "emails": ["your_email@example.com"],
        "phoneNumbers": ["9090909090"],
        "secondaryContactIds": []
    }
}

Build Instructions

  1. Clone the repository

    git clone https://github.com/diwakarvedant07/duplicate-contact-finder.git
    
  2. Change Directory

    cd bbt-golang
    
  3. Build

    go build -o dup-finder.exe
    
  4. Run

    ./dup-finder
    
  5. Misc

    Refer to the example.env file for required environment variables

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL