Tool keywords: Docker, Mysql(v.1.0.0), Fastapi, Aiosqlite
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?) .
- Program: Docker
- Environment: Unix/Linux
# 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.
Heroku app website (see branch heroku-demo)
All the url will be tested first it can be requested or not, so there is CORS block issue.