Giter VIP home page Giter VIP logo

laravel-movies-example's Introduction

screenshot

Laravel Movies Example

Code for YouTube video series: https://www.youtube.com/playlist?list=PLEhEHUEU3x5pYTjZze3fhYMB4Nl_WOHI4

Demo URL: https://movies.andredemos.ca

Installation

  1. Clone the repo and cd into it
  2. composer install
  3. Rename or copy .env.example file to .env
  4. Set your TMDB_TOKEN in your .env file. You can get an API key here. Make sure to use the "API Read Access Token (v4 auth)" from the TMDb dashboard.
  5. php artisan key:generate
  6. php artisan serve or use Laravel Valet or Laravel Homestead
  7. Visit localhost:8000 in your browser

Starting from a particular point

If you would like to follow along and start from a particular point, follow these instructions. You can choose any point by replacing the hash with any particular commit. The commits correspond to the different video parts (mostly).

  1. Clone the repo and cd into it
  2. git checkout 22fa456

laravel-movies-example's People

Contributors

drehimself avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-movies-example's Issues

Trailer Modal Issue.

when we close the trailer playback modal without pausing the video it's still playing in the background.

Illuminate\Foundation\Bootstrap\HandleExceptions::handleError C:\Users\YABB\Downloads\smart-dukcapil-master\app\Http\Controllers\Application\LayananController.php:56

// Cek duplicate pengajuan

    $pengajuan = Pengajuan::where('id_layanan', $layanan->id)->where('id_pelapor', auth()->id())->first();

    if (Carbon::parse($pengajuan->tgl)->toDateString() == date('Y-m-d')) {

        return redirect()->back()->with('unique', 'Anda sudah melakukan pengajuan pada hari ini, lakukan pengajuan pada hari berikutnya!');

    } elseif ($pengajuan->status == 'V') {

        return redirect()->back()->with('unique', 'Anda memiliki pengajuan yang belum terselesaikan!');

    }



    $berkas_persyaratan = $layanan->persyaratan;

    return view('app.layanan.create', compact('layanan', 'berkas_persyaratan'));

}



public function store(Request $request, $url)

{

    $layanan = Layanan::where('url', $url)->first();

Undefined array key "results"

When I launch it, I get an error :
Undefined array key "results"
C:\xampp\htdocs\laravel-movies-example-master\app\Http\Controllers\ActorsController.php:23

impossible to install on my pc

Hello Andre !

I just tried to install your repo on my pc but i had an error

failed to open stream : No such file or directory in
C:\laragon\www\laravel-movies-example\public\index.php on line 24

Issue on movie show page

hi..there is error occurring on movie show page when you click on any movie which don't have poster_path

try with this => movies/607989

ApiKey Invalid

Can you show such an dummy example to write on .env file
TMDB_TOKEN=
I have follow all of your yt and also pull ur master but still give me an Invalid Api Key
I already run in Postman and its work.
Thank you again.

clik.away

add click.away to modal hide image and priview not working for me

x-show.transition.opacity="isOpen"
@click.away="isOpen=false"

Nothing happens pressing / to search

When I press / button nothing happens I double checked the code but still. No errors show on console, any ideas what could it be? Someone please guide me to in order to fix it.

syntax error, unexpected ')'

I clone the repo today and do everything from installation docs. I get:

ParseError
syntax error, unexpected ')'

MoviesController on line 35.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.