restaurants, clients, orders
- PHP,
- Lavarel,
- Docker,
- https://github.com/DarkaOnLine/L5-Swagger
- Payments by stripe
- Copy .env.example to .env
- Create new key:
php artisan key:generate --show
- Fill APP_KEY, DB_PASSWORD, DB_ROOT_PASSWORD
- Run docker-compose:
docker-compose up --build
- Do migrations:
docker-compose exec laravel php artisan migrate
- Seed database:
docker-compose exec laravel php artisan db:seed
or reseed:docker-compose exec laravel php artisan migrate:fresh --seed
- Run server:
docker-compose exec laravel php artisan serve --host=0.0.0.0
Disable "Use the WSL 2 based engine" option in Docker Desktop
php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
php artisan l5-swagger:generate
documentation available on /api/documentation