khushi2706 / Blog-App-using-MERN-stack

Blog App build with MERN stack
https://blog-app-using-mern-stack-beta.vercel.app
76 stars 107 forks source link

Update SignUp component to handle user sign-up and display Snackbar messages #22

Open younes-Raymond opened 5 months ago

younes-Raymond commented 5 months ago

Modified the SignUp component to handle user sign-up functionality. Implemented asynchronous form submission handling in the handleSubmit function. Added error handling using try-catch blocks to catch errors during sign-up. Updated the Snackbar messages to provide feedback to the user based on the sign-up status. Snackbar messages now display success message for successful sign-up and error message for failed sign-up attempts. If the error response indicates that the email already exists, the Snackbar displays a message informing the user that the email is already in use. Implemented efficient error handling to provide clear feedback to the user.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blog-app-using-mern-stack ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2024 4:46pm