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
cd
into it composer install
- Rename or copy
.env.example
file to.env
php artisan key:generate
- Setup a database and add your database credentials in your
.env
file php artisan migrate
orphp artisan migrate --seed
if you want seed datanpm install
npm run dev
ornpm run watch
php artisan serve
or use Laravel Valet- Visit
localhost:8000
in your browser