# README
bbt-golang
Technologies Used
- Go
- SQLite
Exposed Endpoints
API Base URL := https://pythonapi.mastersofterp.in/BBT/
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.
- Input:
{
"email": "[email protected]",
"phoneNumber": "9090909090"
}
- Output Format:
{
"contact": {
"primaryContactId": 1,
"emails": ["[email protected]"],
"phoneNumbers": ["9090909090"],
"secondaryContactIds": []
}
}
Build Instructions
-
Clone the repository
git clone https://github.com/swarnimcodes/bbt-golang
-
Change Directory
cd bbt-golang
-
Build
go build -o bitespeed
-
Run
./bitespeed
-
Misc
Refer to the
example.env
file for required environment variables
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
create a new Router instance.
# Type aliases
type alias for a func that takes in a handler and returns a handler.