A Simple URL Shortener app using Symfony and React.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Docker
- Build and run docker
docker-compose up -d --build
- Open bash from php container and install composer packages
docker-compose exec php /bin/bash
composer install
- Copy .env to .env.local
cp .env .env.local
- Run migrations
php bin/console doctrine:migrations:migrate
php bin/console doctrine:migrations:migrate (Update(quick fix): Please run this command again to migrate LinkVisit table)
- Install yarn packages and compile assets
yarn install
yarn encore dev
Visit http://localhost:8080