This system made by laravel framework as back.
git clone [email protected]:coder0010/trugla-tmdb
or you can download it by the desktop application of github
https://github.com/coder0010/trugla-tmdb
Switch to the repo folder
cd trugla-tmdb
1 Prepare the project
bashes/composer.sh
2 Copy .env.example file and make the required configuration changes in the .env file
cp .env.example ./.env
3 Run this command
php artisan server:setup
* choose Create_Database
* Then choose Migrate_and_Seed
php artisan test
** note please open laravel.log file **
* php artisan queue:work
* php artisan fetch:data
-
Commands
- FetchDataCommand.php
-
Jobs
- SeedDataJob.php => Seeding greped data from command
- UpdateMovieGenreJob.php => Update movie genres [ pivot ] table
-
Servies
- MovieServie.php => Greping data per page
- GenreServie.php => Greping data per page from storage [ .json ] files
-
Traits
- SearchTrait
- PaginationTrait