├── api ├── .env ├── Dockerfile ├── database │ └── database.go ├── go.mod ├── go.sum ├── helpers │ └── helpers.go ├── main.go └── routes │ ├── resolve.go │ └── shorten.go ├── db └── Dockerfile └── docker-compose.yml /api/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/.env -------------------------------------------------------------------------------- /api/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/Dockerfile -------------------------------------------------------------------------------- /api/database/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/database/database.go -------------------------------------------------------------------------------- /api/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/go.mod -------------------------------------------------------------------------------- /api/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/go.sum -------------------------------------------------------------------------------- /api/helpers/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/helpers/helpers.go -------------------------------------------------------------------------------- /api/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/main.go -------------------------------------------------------------------------------- /api/routes/resolve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/routes/resolve.go -------------------------------------------------------------------------------- /api/routes/shorten.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/api/routes/shorten.go -------------------------------------------------------------------------------- /db/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM redis:alpine 2 | 3 | EXPOSE 6379 -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AkhilSharma90/Redis-GO-URL-Shortener/HEAD/docker-compose.yml --------------------------------------------------------------------------------