Task Overview
This task focuses on creating the service-side login and registration page for LapProFix, where service providers can submit detailed information, including their expertise, certifications, and authorization status. This data will later help match technicians to customer service requests using a scheduling algorithm.
Your Role
-
Fork the Repository
Fork the LapProFix repository to your local machine.
-
Install Packages
Navigate to the project directory and install the necessary packages using:
bash
npm install i
-
Run the Project
bash
npm run dev
-
Identify Components
Locate the components responsible for rendering the service provider login and registration forms.
-
Create Service-Side Login Page
Design a page where providers can submit their details:
- Personal Information: Name, contact info (email, phone).
- Expertise: Fields of expertise (e.g., display repair, keyboard issues, cleaning, upgrades).
- Number of Technicians: The number of technicians working for the service provider.
- Certification Attachments: Upload files proving their certifications or licenses.
- Authorization: Data confirming how they are certified or authorized (e.g., company certifications, government licenses).
-
Implement Form Validation
Ensure that all fields have proper validation, particularly for file uploads (certifications/licenses) and expertise categories.
-
Store Data
Use MongoDB to store the service provider’s data, including:
- Personal details
- Expertise fields and technician count
- Certification files
- Authorization status
What Needs to be Done
1. Create Login/Register Form
- Implement a form where service providers can:
- Register by submitting:
- Name, contact information (email, phone).
- Field(s) of expertise: Display repair, keyboard issues, cleaning, general maintenance, upgrades.
- Number of technicians employed.
- Certification attachments (file upload).
- Authorization data (how they are certified or licensed).
- Login: Providers should be able to log in using their credentials to manage their profiles.
2. Form Validation
- Validate that all required fields (e.g., name, expertise, certifications) are filled out correctly.
- Ensure file uploads (certifications/licenses) meet format and size requirements.
3. Store and Retrieve Data
- Store the service provider’s data in MongoDB, including:
- Personal details
- Expertise and technician count
- Certification and authorization status
- Retrieve and display the stored data when the provider logs in.
Expected Outcome
- A fully functional service-side login and registration page.
- Form validation ensures all fields are properly filled out, including certification attachments and technician counts.
- Service provider data, including their expertise and authorization status, will be stored and retrievable via MongoDB.
- This data will be used for a scheduling algorithm to match technicians to customer requests based on expertise.
Task Overview
This task focuses on creating the service-side login and registration page for LapProFix, where service providers can submit detailed information, including their expertise, certifications, and authorization status. This data will later help match technicians to customer service requests using a scheduling algorithm.
Your Role
Fork the Repository
Fork the LapProFix repository to your local machine.
Install Packages
Navigate to the project directory and install the necessary packages using:
bash
npm install i
Run the Project
bash
npm run dev
Identify Components
Locate the components responsible for rendering the service provider login and registration forms.
Create Service-Side Login Page
Design a page where providers can submit their details:
Implement Form Validation
Ensure that all fields have proper validation, particularly for file uploads (certifications/licenses) and expertise categories.
Store Data
Use MongoDB to store the service provider’s data, including:
What Needs to be Done
1. Create Login/Register Form
2. Form Validation
3. Store and Retrieve Data
Expected Outcome