API with auth and friends invite and management systems
Enter the folder with project
cp .env.example .env
composer install
docker-compose up -d
docker-compose exec app php artisan key:generate
docker-compose exec app php artisan passport:install
DB data and tables are provided via docker-compose/mysql/init_db.sql file
Test users passwords: testtest
Users with access tokens: id:1 and id:2
Basic url: localhost:8000
Available at localhost:8000/docs
There are options for export into OpenAPI or Postman formats
docker-compose exec app php artisan scribe:generate
docker-compose up -d
docker-compose up -d
docker-compose exec app php artisan migrate
docker-compose exec app php artisan passport:install
Additionally, you have to sign up several users and get access tokens in order to test the API
"laravel/passport": "~9.0"
"knuckleswtf/scribe": "^2.0"
- for API documentation auto generation