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 8 months ago
bin Initial commit 8 months ago
config Initial commit 8 months ago
docker Initial commit 8 months ago
migrations Initial commit 8 months ago
public Initial commit 8 months ago
src Initial commit 8 months ago
templates Initial commit 8 months ago
.env Initial commit 8 months ago
.gitignore Initial commit 8 months ago
LICENSE Initial commit 8 months ago
README.md Initial commit 8 months ago
composer.json Initial commit 8 months ago
composer.lock Initial commit 8 months ago
docker-compose.yml Initial commit 8 months ago
symfony.lock Initial commit 8 months 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