This repository is created as a solution for the 62teknologi-senior-backend-test.
Make sure to modify
config.json
first
# Clone the repository
$ git clone https://github.com/hajidalakhtar/62teknologi-senior-backend-test-muhammad-hajid-al-akhtar.git
# Navigate to the project directory
$ cd 62teknologi-senior-backend-test-muhammad-hajid-al-akhtar
# Install the dependencies and tidy up the go.mod file
$ go mod tidy
# Start the server
$ make serve
[GET] /token/generate
is used to generate a JWT Token.
[GET] /token/generate
[GET] /business_search/search
[POST] /business_search
[PUT] /business_search/:id
[DEL] /business_search/:id
Default port 3000.