SpringBoardMentor114 / SpendWise

MIT License
2 stars 1 forks source link

Registration Form: FrontEnd and BackEnd Integration #20

Open SpringBoardMentor114 opened 6 months ago

SpringBoardMentor114 commented 6 months ago

Integrate Front end and Backend for Registration Form

Send an http.post request with User object as below. http://localhost:8080/spendwise/register/users

user object sample: {        "firstName": "Kunal",        "lastName": "Dhondge",        "email": "kunal@gmail.com",        "password": "kunal123"    }

if the response has id, then consider as successful and display message as "Registration Successful"

if the request fails, then display error message as "Registration failed: User already registered with this email ID, please try with a different email ID"

harshyelwatkar commented 6 months ago

Learned about

harshyelwatkar commented 6 months ago

Learned about the HttpRequests concept and started with the implementation of sending the HttpRequest to the backend for the integration .

harshyelwatkar commented 6 months ago

Implemented the code for integration. Issues with the validation part .

harshyelwatkar commented 6 months ago
harshyelwatkar commented 6 months ago

Still working on the errors .

harshyelwatkar commented 6 months ago
harshyelwatkar commented 6 months ago

Solved the issue , all issues resolved !!!

SpringBoardMentor114 commented 6 months ago

You need not have to get the response from network tab, you will get it in your code in the error response.

harshyelwatkar commented 6 months ago

You need not have to get the response from network tab, you will get it in your code in the error response.

Ok I will try

GunaSuryaKumar commented 6 months ago

services logic done. Just push the code, now need to make a pull request I will do pull by tomorrow .

harshyelwatkar commented 6 months ago

Done with the reactive forms .. facing some minor errors .. working on it ..

harshyelwatkar commented 6 months ago

Completed with the task and created pull request for the same .