Simple URL Shortener based on Symfony framework
- PhantomJS - Download binary of phantomjs and put it into
bin
folder of application or create symlink to it
- Install dependencies via comporer
composer install
- Install
yarn
- Install dependencies via yarn
yarn install
- Install build frontend bundles with
yarn run encore dev
for development oryarn run encore production
for production - Apply migrations
bin/console doctrine:migrations:migrate
- Add cron-task for info service
url:get-info
withbin/console cron:create
- Add line
* * * * * /path/to/application/app/console cron:run 1>> /dev/null 2>&1
to yourcrontab
on server - Run server
bin/console server:start
- Simple form for add new url
- Redirect location
- Info location
- Authorization [FOSUserBundle]
- User Control panel
- RESTapi
- Update Hash algorithm (get rid of collisions)