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
- Host: GitHub
- URL: https://github.com/kevindasilvas/url-shortener
- Owner: KevinDaSilvaS
- Created: 2021-12-12T21:08:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-17T23:43:57.000Z (over 4 years ago)
- Last Synced: 2025-03-29T12:14:00.963Z (over 1 year ago)
- Topics: elixir, elixir-lang, mongodb, plug
- Language: Elixir
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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
```