Build a Voting App

Source Code for "Build a Voting App" series on Laracasts: https://laracasts.com/series/build-a-voting-app

Each episode has a corresponding commit in git, so checkout the commit history for that. If you would like to go back to a particular point, you can do a git checkout <hash_of_commit>.

Installation

  1. Clone the repo and cd into it
  2. composer install
  3. Rename or copy .env.example file to .env
  4. php artisan key:generate
  5. Setup a database and add your database credentials in your .env file
  6. php artisan migrate or php artisan migrate --seed if you want seed data
  7. npm install
  8. npm run dev or npm run watch
  9. php artisan serve or use Laravel Valet
  10. Visit localhost:8000 in your browser