Hotel Trivoli project API
Create a .env file in the root folder and filled the variables with your owns or ask for them.
swag init --parseDependency --parseInternal
Once the app is running, the swagger docs will be avaliable at /docs
Make sure you have docker and docker-compose installed on your system. Run the following command on the root folder to setup the mariadb database.
docker compose up -d
You can run the app in dev mode using the following command:
go run main.go
You can also install air to live-reload the app during developing.
air
To build the app, run
go build main.go
./main