Giter Club home page Giter Club logo

sauravhathi / otp-service-frontend-assignment Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 13 KB

Create a single-page application for the OTP Service using React.js or Next.js. The application should allow users to both generate and verify one-time passwords (OTPs) via email.

Home Page: https://github.com/sauravhathi/OTP-Service-Frontend-Assignment#readme

License: MIT License

assignment front-end-development nextjs nodejs one-time-password otp otp-generator otp-services otp-verification reactjs

otp-service-frontend-assignment's Introduction

OTP Service Frontend Assignment

Task

Create a single-page application for the OTP Service using React.js or Next.js. The application should allow users to both generate and verify one-time passwords (OTPs) via email.

Users can choose the OTP type (numeric, alphanumeric, or alphabet) and provide additional details such as the organization name and email subject. The service will then send an email containing the OTP to the user's email address.

OTP Service API: https://otp-service-beta.vercel.app

Requirements

  1. Technology Stack:

    • React.js
    • Next.js
    • Any CSS library (e.g., Tailwind CSS, Bootstrap)
    • Any state management library (e.g., React Context, Redux) (optional)
  2. Functionality:

    • Implement a single-page application with two sections: one for generating OTPs and another for verifying OTPs.
    • Use React hooks for state management.
  3. API Interaction:

    • Utilize the provided /api/otp/generate and /api/otp/verify endpoints.
    • Implement proper error handling.
  4. Design:

    • Design a responsive and visually appealing interface.
  5. Deployment:

    • Deploy the frontend on Vercel or any preferred platform.
    • Share the deployment link.
  6. Documentation:

    • Include a README with local setup instructions and any considerations made during development.

Submission

  1. Create a public GitHub repository.
  2. Deploy the frontend.

Evaluation Criteria

  • Functionality: Ensure accurate OTP generation and verification.
  • Code Quality: Organized, readable, and maintainable code.
  • User Interface: Intuitive and visually appealing design.
  • Error Handling: Graceful handling of errors.
  • Deployment: Successful deployment and functionality in the deployed environment.

Bonus Points

  • State Management: Use a state management library (e.g., React Context, Redux).
  • Documentation: Include a README with local setup instructions and any considerations made during development.

Resources

otp-service-frontend-assignment's People

Contributors

sauravhathi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.