This is a web application written in GO
To use this project, you need to have Go installed on your machine. Then, you can follow these steps:
- Install the dependencies:
go mod download
- Run the application:
go run routes.go
Once the application is running, you can access the "events" route by navigating to http://localhost:3001/api/v1/events or even better - using our postman .
There is a possibility to run the local server with tool called gow
that does hot reload on any change.
Check their documentation for more info.
To generate swaggo yaml use
swag init -g routes.go --ot yaml
It gets generate to docs/swagger.yaml