API based on Filmaffinity.com data
Rename .env.dist
to .env
Run:
composer install
./bin/phpunit
Index all films in Elasticsearch reading from DB executing
bin/console filmaffin:films:index --env=prod --no-debug
Index films that are frequently updated (popular, in theatres...)
bin/console filmaffin:films:index:frequently-updated --env=prod --no-debug
Run:
symfony server:start
And go to
http://localhost:8000/api/doc
- Add database structure
- Add example data