signup api added

This commit is contained in:
victorAnumudu
2024-12-17 13:56:00 +01:00
parent f6e714ed4b
commit a364269547
2 changed files with 81 additions and 47 deletions
+8
View File
@@ -50,6 +50,14 @@ export const loginUser = (reqData) => {
return postAuxEnd('/panel/auth/login', postData, false)
}
// FUNCTION TO LOGIN USER IN
export const signUpUser = (reqData) => {
let postData = {
...reqData
}
return postAuxEnd('/panel/auth/register', postData, false)
}
// FUNCTION TO GET DASHBOARD DATA
export const accountDashboard = () => {