derekargueta / resty-url-shortener

A URL shortener implemented with OpenResty (Nginx) and Redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resty-url-shortener

This is an application implemented with OpenResty and Redis to provide url-shortening functionality.

Start the application with

docker-compose-up

which will start the application on localhost:8000.

To shorten a URL, use localhost:8000/?url={URL_TO_SHORTEN} which will display a hash.

That URL can then be expanded with localhost:8000/{HASH} which will auto-redirect you to the site.

About

A URL shortener implemented with OpenResty (Nginx) and Redis


Languages

Language:Lua 75.3%Language:Makefile 14.7%Language:HTML 6.2%Language:Dockerfile 3.8%