ashishkarki / DijitallNotarer

DijitallNotarer is a digital notarization platform using NestJS (backend), Next.js (frontend), and GraphQL APIs. It integrates LocalStack for AWS services, features a monorepo with Yarn workspaces, and includes CI/CD with GitHub Actions. Ideal for showcasing serverless and modern web tech stacks.
MIT License
0 stars 0 forks source link

Frontend: Registration and OTP flow #17

Open ashishkarki opened 4 days ago

ashishkarki commented 4 days ago

Setting up the Next.js client is the perfect next step, especially to handle the register and verify OTP flows from the front end:

  1. Connect the front end with your GraphQL API**: You can call the registration and OTP verification mutations from the client and interact with the backend in real-time.
  2. Handle validation errors gracefully: The validation messages from the backend (like password requirements, email format issues, etc.) can be parsed and displayed in a user-friendly way on the front end.
  3. Improve the user experience: You can add loading indicators, error messages, and success feedback during the registration and OTP verification processes.
  4. Seamlessly manage state: Using tools like React state management or Apollo Client will help manage user sessions, form inputs, and feedback.