Skip to content

It is a boilerplate to get you going with PHP Laravel & React

License

Notifications You must be signed in to change notification settings

writetosalman/movie-recommendation

Repository files navigation

Movie Recommendations

This project is built in PHP Laravel and ReactJS. It can serve as a boiler plate to start your own project.

It returns movie recommendations based on Genre and Showing time selected.

Installation

For installation, use install.sh provided: -

  • Change into the directory
  • Give execute permissions to install file chmod +x install.sh
  • Execute it ./install.sh
  • After installation is complete, edit .env file with correct MySQL details
  • Run laravel migrations by running command php artisan migrate
  • Run laravel seeder to seed database by running command php artisan db:seed

Running

For viewing project in browser: -

  • cd into the directory
  • Run command php artisan serve
  • Visit the URL mentioned in the command prompt.

Running Tests

  • React tests are executed by command jest or npm run test
  • PHP tests are executed by ./vendor/bin/phpunit

Building Assets

If you want to rebuild assets, run npm run production or npm run dev based on your environment.

--

About

It is a boilerplate to get you going with PHP Laravel & React

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages