Skip to content

Commit

Permalink
feat: updated my readme content
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiscode committed Oct 10, 2023
1 parent f1dc2c0 commit 6840f39
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This app can run using the typical XAMPP configuration; ensure you have the corr
### Here's how we run it using XAMPP:

1. Ensure you have XAMPP and Composer installed.
2. Create the database `payment_api`.
2. Create the database `payment_api` and set Privileges.
3. Install the PHP dependencies.
````
composer install
Expand Down
4 changes: 2 additions & 2 deletions app/Controllers/PaymentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function createPayment(Request $request, Response $response): Response
* @OA\Put(
* path="/v1/payments/{id}",
* summary="Update all data of a specific payment by its ID",
* tags={"Methods"},
* tags={"Payments"},
* @OA\Parameter(
* name="id",
* in="path",
Expand Down Expand Up @@ -455,7 +455,7 @@ public function patchPayment(Request $request, Response $response, array $args):
* @OA\Delete(
* path="/v1/payments/{id}",
* summary="Delete a specific payment by its ID",
* tags={"Methods"},
* tags={"Payments"},
* @OA\Parameter(
* name="id",
* in="path",
Expand Down
2 changes: 2 additions & 0 deletions logs/alert.log
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ ALERT | 2023-10-08, 21:24:15 > Internal Server Error | [] []
ALERT | 2023-10-08, 21:24:40 > Internal Server Error | [] []
ALERT | 2023-10-09, 11:48:33 > Internal Server Error | [] []
ALERT | 2023-10-09, 23:08:41 > Status 400: Bad Request | {"success":false,"message":"Request must be either a float or an integer only.","status":400,"path":"/v1/payments"} []
ALERT | 2023-10-10, 02:21:20 > Internal Server Error | [] []
ALERT | 2023-10-10, 02:21:44 > Internal Server Error | [] []
2 changes: 2 additions & 0 deletions logs/critical.log
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
{"message":"Internal Server Error","context":{},"level":550,"level_name":"ALERT","channel":"payment-api","datetime":"2023-10-09T11:48:33.409750+00:00","extra":{}}
{"message":"Not found.","context":{},"level":500,"level_name":"CRITICAL","channel":"payment-api","datetime":"2023-10-09T12:42:05.210844+00:00","extra":{}}
{"message":"Status 400: Bad Request","context":{"success":false,"message":"Request must be either a float or an integer only.","status":400,"path":"/v1/payments"},"level":550,"level_name":"ALERT","channel":"payment-api","datetime":"2023-10-09T23:08:41.740975+00:00","extra":{}}
{"message":"Internal Server Error","context":{},"level":550,"level_name":"ALERT","channel":"payment-api","datetime":"2023-10-10T02:21:20.240750+02:00","extra":{}}
{"message":"Internal Server Error","context":{},"level":550,"level_name":"ALERT","channel":"payment-api","datetime":"2023-10-10T02:21:44.365133+02:00","extra":{}}
2 changes: 2 additions & 0 deletions logs/debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@
[2023-10-09T23:56:50.803193+00:00] payment-api.INFO: Status 400: Failed validation (Bad request). [] []
[2023-10-09T23:57:14.632234+00:00] payment-api.INFO: Status 400: Failed validation (Bad request). [] []
[2023-10-10T00:01:57.898212+00:00] payment-api.INFO: Status 400: Failed validation (Bad request). [] []
[2023-10-10T02:21:20.240750+02:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-10T02:21:44.365133+02:00] payment-api.ALERT: Internal Server Error [] []
2 changes: 2 additions & 0 deletions logs/error.log
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
[2023-10-09T11:48:33.409750+00:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-09T12:42:05.210844+00:00] payment-api.CRITICAL: Not found. [] []
[2023-10-09T23:08:41.740975+00:00] payment-api.ALERT: Status 400: Bad Request {"success":false,"message":"Request must be either a float or an integer only.","status":400,"path":"/v1/payments"} []
[2023-10-10T02:21:20.240750+02:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-10T02:21:44.365133+02:00] payment-api.ALERT: Internal Server Error [] []
2 changes: 2 additions & 0 deletions logs/info.log
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@
[2023-10-09T23:56:50.803193+00:00] payment-api.INFO: Status 400: Failed validation (Bad request). [] []
[2023-10-09T23:57:14.632234+00:00] payment-api.INFO: Status 400: Failed validation (Bad request). [] []
[2023-10-10T00:01:57.898212+00:00] payment-api.INFO: Status 400: Failed validation (Bad request). [] []
[2023-10-10T02:21:20.240750+02:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-10T02:21:44.365133+02:00] payment-api.ALERT: Internal Server Error [] []
2 changes: 2 additions & 0 deletions logs/notice.log
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
[2023-10-09T11:48:33.409750+00:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-09T12:42:05.210844+00:00] payment-api.CRITICAL: Not found. [] []
[2023-10-09T23:08:41.740975+00:00] payment-api.ALERT: Status 400: Bad Request {"success":false,"message":"Request must be either a float or an integer only.","status":400,"path":"/v1/payments"} []
[2023-10-10T02:21:20.240750+02:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-10T02:21:44.365133+02:00] payment-api.ALERT: Internal Server Error [] []
2 changes: 2 additions & 0 deletions logs/warning.log
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
[2023-10-09T11:48:33.409750+00:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-09T12:42:05.210844+00:00] payment-api.CRITICAL: Not found. [] []
[2023-10-09T23:08:41.740975+00:00] payment-api.ALERT: Status 400: Bad Request {"success":false,"message":"Request must be either a float or an integer only.","status":400,"path":"/v1/payments"} []
[2023-10-10T02:21:20.240750+02:00] payment-api.ALERT: Internal Server Error [] []
[2023-10-10T02:21:44.365133+02:00] payment-api.ALERT: Internal Server Error [] []

0 comments on commit 6840f39

Please sign in to comment.