Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Merchant Dashboard Setup with Authentication #311

Open
5 of 10 tasks
ShivanshPlays opened this issue Oct 28, 2024 · 0 comments
Open
5 of 10 tasks

[Feat] Merchant Dashboard Setup with Authentication #311

ShivanshPlays opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level3 GirlScript Summer of Code Level 3 Issue

Comments

@ShivanshPlays
Copy link
Contributor

Description

Issue: Merchant Dashboard Setup with Authentication

Description

This issue involves setting up a dashboard for merchants to sign up and log in, ensuring seamless access management based on user roles. As part of this implementation, I will:

  1. Design a fresh UI using shadCN components.
  2. Implement role-based authentication to differentiate between regular users and merchants.
  3. Configure redirection logic:
    • Users will be redirected to the homepage after logging in.
    • Merchants will be redirected to a secured dashboard page.

Tasks

  • Design and implement the signup and login UI using shadCN.
  • Set up authentication using NextAuth (or an alternative) to manage sessions.
  • Implement role-based access control (RBAC).
  • Configure redirections based on user roles (user vs. merchant).
  • Create a secured merchant dashboard page.

Input Required from Project Admin

  1. Authentication Library:

    • Should we proceed with NextAuth, or do you have another preference?
  2. Role Management:

    • Any specific roles or permissions we should assign apart from "User" and "Merchant"?
    • Any additional requirements for securing the dashboard?

Expected Outcome

  • A new UI for the merchant signup and login screens.
  • Role-based redirection implemented:
    • Users → Homepage
    • Merchants → Secured Dashboard
  • Authentication in place with secure session management.
  • A working dashboard accessible only to merchants.

Please provide your thoughts on the authentication library and role definitions before I proceed.

Screenshots

No response

Checklist

  • I have checked the existing issues
  • I have read the Contributing Guidelines
  • I'm a GSSoC'24-Extd contributor
  • I'm a Hacktoberfest'24 contributor
  • I am willing to work on this issue (optional)
@ShivanshPlays ShivanshPlays added the enhancement New feature or request label Oct 28, 2024
@github-actions github-actions bot added gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest labels Oct 28, 2024
@swarooppatilx swarooppatilx added the level3 GirlScript Summer of Code Level 3 Issue label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level3 GirlScript Summer of Code Level 3 Issue
Projects
None yet
Development

No branches or pull requests

2 participants