Skip to content

gogapopp/shortener

Repository files navigation

go-url-shortener

how to build application: docker-compose up

the project can be started using env, flags and config.json
the settings are set as follows: env, if not set, then the flags and then config.json
-с config.json file path | env:"CONFIG"
-a address and port to run server | env:"SERVER_ADDRESS
-b base url | env:"BASE_URL
-f file storage path | env:"FILE_STORAGE_PATH
-d database path | env:"DATABASE_DSN
-s https enable (true/false) | env:"ENABLE_HTTPS
-t trusted subnet | env:"TRUSTED_SUBNET

POSTMAN request example:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published