Backend RESTful API based on Lumen v5.3 used for exchanging information with the hackAIR web app and the hackAIR mobile app.
- Dingo API package for Lumen (Dingo API)
- Laravel MongoDB package to provide support for MongoDB Laravel MongoDB
- JSON Web Token Authentication package for Lumen JWT Auth
- Mandrill's API for transactional email as a service (Mandrill API)
- Sentry's integration with Laravel for exception and error alerts (Laravel Sentry)
- Guzzle PHP HTTP client used for external API calls (Guzzle)
- PHP >= 5.6.4
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Clone project
- Install dependencies
composer install
- Update class autoloader
composer dump-autoload
- Setup permissions
chmod -R 775 /var/www/html/storage
chmod -R 775 /var/www/html/public
- Copy .env.example to .env and setup configurations
- Generate and add APP_KEY to .env file e.g. APP_KEY=lk7IqejFTEqaIep8guBE16Mg5JWpZtHj
- Run migrations & seeds
php artisan migrate --seed
Please refer to our online documentation for more information.
The hackAIR API is open-sourced software licensed under the GNU AGPLv3 license