Welcome to AirHack! You can use this boilerplate as a starting point. You can also use it to understand AirHack API integration.
We are using:
- PHP / Laravel (backend)
- VueJS / Webpack / Yarn (frontend)
- SQLite (database)
- Install PHP 7.1+ on your computer: https://www.php.net/manual/fr/install.php
- Install composer: https://getcomposer.org/
- Install sqlite if you don't have it
- Run
composer install
- Run
yarn
- Build your assets:
npm run watch
- Serve your PHP App:
php artisan serve
- Push to a public repository on GitHub
- Connect to AirHack Heroku dashboard
- Ask AirHack organisers to create an app in Heroku
- Provision php and nodejs Buildpacks
- Hook your Heroku App to your GitHub Repository (Deploy tab)
- Enable Automatic Deploys
- Trigger a manual deploy
- Provision free plugins (database) if needed
- Edit environment variable