Url shortening demo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
siinus 1abf940681 Initial commit 1 year ago
bin Initial commit 1 year ago
config Initial commit 1 year ago
docker Initial commit 1 year ago
migrations Initial commit 1 year ago
public Initial commit 1 year ago
src Initial commit 1 year ago
templates Initial commit 1 year ago
.env Initial commit 1 year ago
.gitignore Initial commit 1 year ago
LICENSE Initial commit 1 year ago
README.md Initial commit 1 year ago
composer.json Initial commit 1 year ago
composer.lock Initial commit 1 year ago
docker-compose.yml Initial commit 1 year ago
symfony.lock Initial commit 1 year ago

README.md

Lyhendi

Demo/PoC app doing url shortening. Allows user to insert long url and (optionally) custom string.

Generated url strings are based on auto increment id keys and collisions are unlikely.

Obviously not for production use

  • No authentication
  • No administration
  • No captcha
  • Not tested by competent QA engineer
  • Index page displays the last url shortened, for demo purposes
  • Does not redirect to target url. For demo, we don't need it

Futureproof

  • Relatively fresh platform (PHP8.1, MariaDB 10.3, Symfony 6.0)
  • Lightweight and ready for further development
  • Easy to add features (auth, admin, design etc...)
  • Internet is full of unreasonably lengthy urls, which should be shortened

Setup

After cloning, cd to project dir and run docker-compose up -d

Assume that the port 8080 is not in use, application should be available at http://localhost:8080

One can switch APP_ENV value to dev and enjoy the almighty Symfony debug bar and profiler.

Developed and tested only on linux machine, YMMV