git clone https://github.com/amalmadhu06/mariadb-fiber-go.git
cd mariadb-fiber-go
go mod download
Set up a MariaDB database and add schema and data in the pkg/db/sql
folder
Rename the .env.example
to dev.env
and update the content according to your database set up.
make run
curl -X GET http:https://127.0.0.1:3000/offer/us
curl -X GET http:https://127.0.0.1:3000/offer/fr
curl -X GET http:https://127.0.0.1:3000/offer/ca
curl -X GET http:https://127.0.0.1:3000/offer/br