zenorachi / url-shortener

Simple url shortener service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Url Shortener

Simple url shortener service written in Golang.

Technologies used:


Getting started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these example steps.

Installation

  1. Clone the repository:
git clone https://github.com/zenorachi/url-shortener
  1. Setup environment variables (create .env file in the project's root):
export REDIS_HOST=
export REDIS_PORT=
export REDIS_PASSWORD=
export REDIS_INDEX=

Note: if you build the project using Docker, setup DB_HOST=redis (as the container name)

  1. Compile and run the project:
make

About

Simple url shortener service.

License:MIT License


Languages

Language:Go 92.9%Language:Makefile 5.8%Language:Dockerfile 1.2%