An open API service indexing awesome lists of open source software.

https://github.com/kevindasilvas/url-shortener

Url shortener app, made with elixir and plug
https://github.com/kevindasilvas/url-shortener

elixir elixir-lang mongodb plug

Last synced: 2 months ago
JSON representation

Url shortener app, made with elixir and plug

Awesome Lists containing this project

README

          

# UrlShortener

**Url shortener app made with Elixir and Plug**

## Installation

Run: `docker-compose up -d --build`

To create a link:
```
POST
http://localhost:9090/links

BODY:
{
"url": "https://github.com/",
"alias": "hi"
}
```

To go to a link:
```
GET
http://localhost:9090/:link_alias
EXAMPLE:
http://localhost:9090/hi
```