Skip to content

GamingGuy003/url_short_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planned structure

GET /:uri follows shortened uri


POST /_shorten shortens given uri

Needs Data:

{
    "r_uri": "https://example.com"
}

DELETE /_delete/:uri deletes shortened uri


GET /_info/:uri info about shortened uri

Returns Data:

[
    {
        "client_ip": "192.168.X.X:XXXX",
        "s_uri": "1",
        "timestamp": "2023-11-28 19:46:36"
    },
    {
        "client_ip": "127.0.0.1:53490",
        "s_uri": "3",
        "timestamp": "2023-11-28 20:12:19"
    }
]

Roadmap

  • Add percent encoding for routes
  • Add generic routes like *
  • Add subroutes

About

A url shortener written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages