A Lumen REST-API for the "Veganresan" mobile application. Endpoints for adding and listing meals with authorization is available.
- Install all dependencies
composer install
- Ensure
/storage
folder is writable by the webserver - Create a sqlite database file
touch database/database.sqlite
- Copy
.env.example
to.env
and update all variables - Copy
app-versions.example.json
to/storage/app/app-versions.json
- Ensure symlink from
/public/storage
to/storage/app/public
exists, if not, create it:ln -s ../storage/app/public/ ./public/storage
- Run migrations
php artisan migrate