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>.
- Clone the repo and
cdinto it composer install- Rename or copy
.env.examplefile to.env php artisan key:generate- Setup a database and add your database credentials in your
.envfile php artisan migrateorphp artisan migrate --seedif you want seed datanpm installnpm run devornpm run watchphp artisan serveor use Laravel Valet- Visit
localhost:8000in your browser