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