A simple and blazingly fast URL shortner and resolver tool written in go that uses MongoDB. (For teaching purposes only)
- Set the appropriate configuration variables inside
config.yaml
file - Run the command
make setup
- Server
- CLI
It is a simple HTTP server written in GoFiber framework.
- Make sure your have
golang
andmake
installed on your machine - Navigate to this project in terminal.
- Type the command
make server
It is a simple CLI app in case you wish to use this project in a terminal and not through a web app.
- Make sure your have
golang
andmake
installed on your machine. - Navigate to this project in terminal.
- Change
config.yaml
file to suit your environment. - Type the command
make setup
. - Type the command
./scripts/cli/install-linux.sh
. - Run
url-sh
in terminal to test if app is running properly.