Skip to content

Commit

Permalink
refactor(global): Update composer dependencies. Improve README API
Browse files Browse the repository at this point in the history
  • Loading branch information
gnovaro committed Dec 29, 2023
1 parent 2291a03 commit 2435502
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 89 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,20 @@ Endpoint:

Some API Endpoint for the full list check the doc:

[POST] /api/auth
| Method | Endpoint | Description |
|--------|------------------|---------------------|
| POST | `/api/auth` | User auth |
| GET | `/api/lead` | Get all leads |
| GET | `/api/lead/{id}` | Get lead detail |
| POST | `/api/lead` | Create new lead |
| PUT | `/api/lead/{id}` | Update existing lead |
| DELETE | `/api/lead/{id}` | Delete a lead |
| GET | `/api/customer` | Get all customers |
| GET | `/api/product` | Get all products |
| GET | `/api/order` | Get all orders |
| GET | `/api/supplier` | Get all suppliers |
| GET | `/api/ticket` | Get all tickets |

[GET] /api/lead

[GET] /api/lead/{id}

[POST] /api/lead

[PUT] /api/lead/{id}

[DELETE] /api/lead/{id}

[GET] /api/customer

## Translation (i18n)
Check missing translation keys
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"h4cc/wkhtmltoimage-i386": "0.12.x",
"h4cc/wkhtmltopdf-amd64": "0.12.x",
"h4cc/wkhtmltopdf-i386": "0.12.x",
"laravel/framework": "^10.0",
"laravel/helpers": "^1.4",
"laravel/framework": "^10.10",
"laravel/helpers": "^1.6",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"laravel/ui": "^4.0",
Expand Down Expand Up @@ -57,7 +57,7 @@
"marcocesarato/php-conventional-changelog": "^1.16",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"phpunit/phpunit": "^10.5",
"rector/rector": "^0.15.10",
"spatie/laravel-ignition": "^2.0",
"squizlabs/php_codesniffer": "^3.7"
Expand Down
102 changes: 51 additions & 51 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2435502

Please sign in to comment.