a demo of how to go about setting up a simple ajax-polling page/feature
- Lumen 5.2
- Vue.js 1.0.16
- window.fetch API
Lumen needs to have a virtual host setup so get started. I use Laravel Homestead as a virual machine.
If you have all that, then continue:
- clone the repo and change to the directory
- move the
env
to.env
- update
.env
with the setting appropriate to your app/database php artisan migrate
php artisan db:seed
- visit the url for your virtual host and go to
/frontend.html