Url shortner
- Run
composer install
to install Symfony libs - Run PostgreSQL
- Add
.env
file withDATABASE_URL
- Run
symfony server:start
- To add the link use POST-request
/v1/shortlink
with body{"link": "xxxx", "status": 301}
- To redirect end-user to shorted link use root endpoint
/~dsada