Skip to content

Zhima-Mochi/shorturl-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shorturl App

Tool keywords: Docker, Mysql(v.1.0.0), Fastapi, Aiosqlite

Overview

The application is used to shorten long url, and the short url is valid until the application is down or 6-digit codes generated for short url is almost exhausted (how can that be?) .

Requirement

  • Program: Docker
  • Environment: Unix/Linux

Getting started

# download the code
$ git clone https://github.com/Zhima-Mochi/shorturl-app.git
$ cd shorturl-app
# build and run the application
$ docker-compose up

Now, have fun with http://localhost.

Demo

Heroku app website (see branch heroku-demo)

demo

Note

All the url will be tested first it can be requested or not, so there is CORS block issue.