Environment variables:
- configFilePath: string
- logFilePath: string
- jwtTokenSecret: string
Allows Queries:
http://localhost:3000/api/users?username=Antonio
# Get swag
go get -u github.com/swaggo/swag/cmd/swag
# Generate docs
swag init --parseDependency --output docs
Run and go to http://localhost:3000/docs/index.html
- Build
make build
docker build . -t api-rest
- Run
docker run -p 3000:3000 api-rest
- Test
go test -v ./test/...
python .\utils\generators\main.py
- Set the new Component inside internal/config/database.go --> migration()
- Set the new Component inside internal/app.go --> SetRoutes()