manikumarreddyu / AgroTech-AI

AgroTech AI platform is a comprehensive web-based tool where users can access various machine learning models for making accurate predictions related to agriculture
https://agro-tech-ai.vercel.app
MIT License
68 stars 115 forks source link

Add Support Ticket System: Schema, Controller, Middleware, and Routes #963

Closed IkkiOcean closed 2 days ago

IkkiOcean commented 3 days ago

Description:

We need to implement a support ticket system to allow users to create, manage, and track support tickets. This will involve the following:

  1. Ticket Schema: A schema to store ticket details such as ticket ID, user ID, subject, description, status (open, in-progress, resolved), priority, and timestamps.
  2. Controller: Logic to handle the creation, updating, and status tracking of tickets.
  3. Middleware: Middleware for validating user requests, ticket status, and ensuring appropriate access control (e.g., ensuring only the assigned agent can update a ticket).
  4. Routes: Define API routes to handle actions such as:
    • Creating a new ticket
    • Fetching ticket details
    • Updating ticket status
    • Assigning tickets to agents

Tasks:

Expected Outcome:

github-actions[bot] commented 3 days ago

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

github-actions[bot] commented 2 days ago

Hello @IkkiOcean! Your issue #963 has been closed. Thank you for your contribution!