Skip to content

Add Admin Panel for Managing User Accounts, Orders, and Information #206

@zackha

Description

@zackha

An admin panel needs to be implemented to provide administrators the ability to manage the platform effectively. The admin panel should include features to:

  1. View and manage user accounts (e.g., profile details, status).
  2. View and manage orders (e.g., order details, status updates).
  3. View user information related to orders and profiles.

Proposed Solution

  • Use Nuxt 3 to create a dedicated route or module for the admin panel.
  • Leverage existing technologies like Tailwind CSS for styling and Apollo Client for querying and updating data via GraphQL.
  • Define new GraphQL queries/mutations for retrieving and modifying user and order data.

Features to Include:

  1. User Management:

    • List all registered users with basic details (e.g., name, email).
    • Allow viewing/editing of user information.
    • Toggle user status (e.g., active/inactive).
  2. Order Management:

    • List all orders with details (e.g., products, user, status).
    • Update order statuses (e.g., pending, shipped, completed).
  3. Search/Filter:

    • Add search and filtering capabilities for users and orders (e.g., by name, email, date, status).
  4. Authentication & Role Management:

    • Restrict access to the admin panel to admin users only.
    • Add an authentication mechanism for admin login if not already present.

Expected Outcome
A fully functional admin panel integrated with the existing platform, enabling efficient management of users and orders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions