W T W
- Student: Olga Marinina.
- Mentor: Mikhail Selyatin.
"What to watch" is a new generation online cinema. Watch the latest movies or series episodes absolutely free and in the best quality. Leave reviews, rate and choose only the best from the world of big cinema.
Check it here.
It's not full document so, please, check /routes/api.php.
For start with this project you should use the following command:
./vendor/bin/sail up
Then for using short command you should create alias:
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
And now you can do the first command with:
sail up
All db migrations were prepared, so just run:
sail artisan migrate
In this project we have default set data for file type, film status, user role, link type. So these data will be needed for you any way, so they were added in migrations
To test smth and check website operation you should add fake data. They were prepared too, soo just run:
sail artisan db:seed
We work here with PHPUnit. To start tests just run:
sail artisan test
For concrete test:
sail artisan test --filter=<name>