Skip to content

Commit

Permalink
Add API documentation using Swagger UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Arman001011 committed Jan 15, 2025
1 parent 9abe268 commit 4a638f2
Show file tree
Hide file tree
Showing 11 changed files with 1,257 additions and 79 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ To install the project with Docker please make sure you have installed it on you

`php artisan db:seed`

# Now the app will be available at http://localhost:8080.
## Make storage accessible

`php artisan storage:link`

# Now the app will be available at http://localhost:8080. And API documentation will be visible at http://localhost:8080/api/documentation.

### If you need to stop the containers, you can run `docker-compose down` and run `docker-compose up -d` to restart them. Artisan commands can be run from outside of containers like `docker exec -it laravel_app php artisan migrate`.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"license": "MIT",
"require": {
"php": "^8.2",
"darkaonline/l5-swagger": "^8.6",
"laravel/framework": "^11.31",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
Expand Down
Loading

0 comments on commit 4a638f2

Please sign in to comment.