Base for rest api utilisation #53

Merged
tonitch merged 5 commits from tonitch/front/rest_Base into master 2024-03-06 21:38:10 +01:00
Owner

The restConsumer will be the base, then I will create a js file per
"object" (for instance there will be users.js with all endpoints for
users using the restConsumer.js)

The restConsumer will be the base, then I will create a js file per "object" (for instance there will be users.js with all endpoints for users using the restConsumer.js)
tonitch added 1 commit 2024-03-05 00:17:17 +01:00
Base for rest api utilisation
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m54s
Build and test backend / Test-backend (pull_request) Successful in 1m52s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 20s
8c2397c4cf
The restConsumer will be the base, then I will create a js file per
"object" (for instance there will be users.js with all endpoints for
users using the restConsumer.js)
tonitch added 1 commit 2024-03-05 14:13:28 +01:00
Document rest
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m55s
Build and test backend / Test-backend (pull_request) Successful in 1m50s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 19s
09d5e1c293
tonitch added 1 commit 2024-03-05 14:27:09 +01:00
adding toast on requests
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m51s
Build and test backend / Test-backend (pull_request) Successful in 1m49s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 19s
e17ceab0e6
Maxime requested changes 2024-03-05 18:56:37 +01:00
Dismissed
Maxime left a comment
Owner

juste une bête question

juste une bête question
@ -0,0 +14,4 @@
export async function restDelete(endPoint, data) {
return await _rest(endPoint, {method: "DELETE", body: data});
}
Owner

pas de restPatch function ?

pas de restPatch function ?
Author
Owner

Pas encore fait parce que j'allais dormir ^^ c'est un stub (d'ou le WIP:) qui n'est pas fini mais merci pour la remarque

Pas encore fait parce que j'allais dormir ^^ c'est un stub (d'ou le WIP:) qui n'est pas fini mais merci pour la remarque
tonitch marked this conversation as resolved
tonitch added 1 commit 2024-03-05 19:31:47 +01:00
adding patch to restConsumer
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m57s
Build and test backend / Test-backend (pull_request) Successful in 1m51s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 20s
73cc296a49
tonitch dismissed Maxime’s review 2024-03-05 20:21:03 +01:00
Reason:

done and wiped

tonitch added 1 commit 2024-03-05 23:59:19 +01:00
package-lock was forgoten
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m2s
Build and test backend / Test-backend (pull_request) Successful in 1m51s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 19s
e94acfb4e5
tonitch changed title from WIP: Base for rest api utilisation to Base for rest api utilisation 2024-03-05 23:59:32 +01:00
tonitch reviewed 2024-03-06 00:00:51 +01:00
tonitch left a comment
Author
Owner

it is ready to be reviewd!

it is ready to be reviewd!
tonitch added the
Done
Waiting for review
labels 2024-03-06 00:00:59 +01:00
tonitch requested review from Wal 2024-03-06 00:01:02 +01:00
tonitch added this to the Clyde project 2024-03-06 13:47:35 +01:00
Wal approved these changes 2024-03-06 13:47:57 +01:00
Maxime approved these changes 2024-03-06 16:45:37 +01:00
tonitch merged commit 0e7c18e088 into master 2024-03-06 21:38:10 +01:00
tonitch deleted branch tonitch/front/rest_Base 2024-03-06 21:38:10 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PGL/Clyde#53
No description provided.