# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# README
Hi there 👋
It is url shortener
Description
It is url shortener. It allows you to shorten links and create custom aliases.
Launch
-
Set up configuration of the project (config/config.yaml) or use default values.
-
Set up configuration of docker (docker-compose.yaml) if you use it.
-
If you don`t use docker, raise the postgres and redis databases in advance (do not forget that app will try to connect to the dbs with the environment specified in config/config.yaml).
-
Set up the environment (create ".env" file) according to the example in the ".env.example" file or rename ".env.example" to ".env" to use default values.
-
Navigate to the root of the project in the terminal and enter the command:
docker compose up
If you don`t use docker, enter:
go run ./cmd/url-shortener/main.go