Symfony 5.4 project gathering a list of movies with local notes but also IMDB notes and desciption.
To add a film you have to go through the route: /movie/addor for a bulk import /movie/add/bulk.
If you add a movie that already exists it will just calculate the new average score and save it in the database.
Knowing that normally the batch import is reserved for admins and that movies already contains a descriptions, the app will not check with the API to not overload it
Also, only the last uploaded poster is kept.
To run this project, you will need to add the following environment variables to your .env file
DATABASE_URL = sqlite:///%kernel.project_dir%/var/data.db
OMBDBAPIKEY = 1234
ADMIN_CODE = 1234
Client: TailwindCSS
Server: Symfony, SQLite, Twig, Webpack and Encor
API: OMDB
To deploy this project run
composer install
php bin/console doctrine:migrations:migrate
npm install
npm run buildLaunch dev server
symfony server:start