Open Issues Need Help
View All on GitHubAI Summary: Create a responsive HTML email template for payment confirmation, including dynamic placeholders for student details, payment information, and discounts. The template will be read by a Node.js application using the `fs` module, populated with dynamic data, and potentially sent via Nodemailer (though sending is not explicitly required in the task description). A test endpoint for previewing the rendered email is also needed.
AI Summary: Implement a secured API endpoint `/api/student/fee-info` that retrieves detailed fee information for a student given their `uniqueId`. The API should validate the input, check the database for the student, and return a JSON response containing student details, course fee, payments, and outstanding balance. The project uses Node.js, Express.js, and MongoDB.
AI Summary: Implement a backend API endpoint that validates if a student's unique ID exists in a MongoDB database. The endpoint should accept a unique ID as a parameter, query the database, and return a JSON response indicating whether the ID is valid, including the ID in the response if valid. This involves creating a controller, service, and potentially utility functions to handle database interaction and response formatting.
AI Summary: Implement a forgot password feature for an existing Express.js API. This involves creating two endpoints: one to initiate password reset by sending an OTP via email, and another to validate the OTP and update the user's password. The task requires handling email sending, OTP generation and expiry, password hashing with bcrypt, and database interactions.