hegerdes / Lazy-URL

This is a quick implementation of a url shorter in nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full functional URL-Shorter

A quick and easy way to send short URLs to friends.

This was just a quick one day build to try something new. It is not optimized for heavy load nor for performance. I did't even register a URL yet. Was just a fun porject.


Status πŸ”ƒ

Backend

The backend is fully functional. It uses nodejs and a sql-lite DB. The goal was to create a easy to deploy app. For more complex goals use MongoDB or MySQL.

FrontEnd 🎁

NON existent. Feel free to create a FrontEnd. API is accessible for everyone. Use PostMan to test API requests

API

Create URL

Create a POST request to `[BASEURL]/url with the following content in body:

{
    "name": "myURL",                    #Optional
    "url": "https://www.google.de"      #Requierd
}

Go to URL

The[BASEURL]/mySHORT redirects you to the dst URL or shows a Err-Page.

TODO πŸ› 

FrontEnd


About

This is a quick implementation of a url shorter in nodejs


Languages

Language:Vue 54.1%Language:JavaScript 20.2%Language:EJS 18.0%Language:HTML 4.8%Language:Dockerfile 2.3%Language:CSS 0.6%