This project consists of three main tasks:
- OTP Form: A form to input and verify an OTP.
- Course List Draggable: A list displaying a list of courses, can be reordered using drag and drop.
- Batches Table: A list of batches with pagination and search feature.
- Clone the repository:
git clone https://github.com/Git21221/masterji-assignment1.git
- Navigate to the project directory:
cd masterji-assignment1
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to
/otp-form
to use the OTP form. - Navigate to
/course-list
to view the draggable course list. - Navigate to
/batches
to view the batches table.
- Route:
/otp-form
- Functionality: A form to input an OTP and verify it against a preset value (
1234
). - Validation:
- The OTP must be exactly 4 digits long.
- The OTP must match the preset value (
1234
).
- Hosted Route: https://assignment-masterji.netlify.app/otp-form
- Route:
/course-list
- Functionality: A table displaying a list of courses that can be reordered using drag and drop.
- Hosted Route: https://assignment-masterji.netlify.app/course-list
- Route:
/batches
- Functionality: A list of batches in a table with pagination and search feature.
- Hosted Route: https://assignment-masterji.netlify.app/batches
- React
- React Router
- JavaScript (ES6+)
This project is licensed under the MIT License. See the LICENSE file for details.