simple url-shortener written in Go .
Used DataBase : redis
- signing up & logging in
- shortenning inputted url
- showing shortenned urls for each user
name | repo |
---|---|
gorilla/mux | https://github.com/gorilla/mux |
go redis | https://github.com/go-redis/redis |
go.uuid | https://github.com/satori/go.uuid |
Also :
use docker run --name redis-usdb -p 8282:6379 -d redis
to connect redis to port 8282
then just build and run main.go file
default port for service is :8080