command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 1, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
tinyUrl
A simple tinyUrl
Simple usage
Create URL
curl -d '{"url":"https://ya.ru"}' localhost/api/v1/shortUrl && echo
URL created!
{"shortUrl":"http://localhost/Ch9Lgr9kzW"}
Get URL
curl -L http://localhost/Ch9Lgr9kzW
... Redirect to https://ya.ru
Default expiration
Docker usage
Compose
docker-compose up
To rebuild use this cmd
docker-compose -f docker-compose.yml up -d --build
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.