Created based on this sample.
- algolia account(App ID, API Key)
- Dark Sky API account(API Key)
Set your Dark Sky API key to DARKSKY_KEY
.
// ...
DARKSKY_KEY="your-api-key"
Set your algolia App ID, API key to config.js
.
export default {
algolia: {
appId: 'your-app-id',
key: 'your-app-key'
},
}
$ php artisan serve
# in another tab
$ npm run watch