VaibhavArora314 / StyleShare

A simple web based platform where users can easily create, explore, and share Tailwind CSS components and designs with fellow users.
https://style-share.vercel.app
MIT License
33 stars 54 forks source link

[Feature Request]: Adding Admin approach to whole style share webapp #307

Open MeetDOD opened 3 days ago

MeetDOD commented 3 days ago

Is there an existing issue for this?

Feature Description

@VaibhavArora314 I am thinking of this feature from a long time, i want to create this feature with admin dashboard and all so can you please suggest me the road map like how many pr and issue with there feature like for users,posts,comments,likes,dashboard C.R.U.D operations and all like a admin have.

Use Case

With this feature their will be a admin who will manage the whole webapp effectively without any issues.

Benefits

No response

Add ScreenShots

No response

Priority

High

Record

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.

manikumarreddyu commented 3 days ago

There is a need for this feature because if any create duplicate or dummy content admin can able to remove easily..so that app will be productive in nature

VaibhavArora314 commented 2 days ago

I am thinking of creating a new react app for this which can also be served via express sever. I will add the basic setup for that, and then you can start working on this.

Also, let's break this into multiple subtasks for now:

  1. create an additional parameter in the user model for isAdmin which is false for all users by default and a sign-in dashboard for admin users with a route /sign-in. once signed in the user can see a blank page for now. This can be considered a level 2 since a simple sign-in route and sign-in page needed to be added.
  2. Add a user menu in the admin panel where the admin user can see all the users with their username, email, verified status, an option to make them admin user, and lastly an option to block the user. Once the user is blocked, the user cannot sign in. This can be assigned level 2.

I will tell you more features, for now, implement these. Depending on the work, labels can later be discussed after you implement the prs. If this becomes too much work, you can split the tasks with someone else and collaborate with them on this issue.

MeetDOD commented 2 days ago

I am thinking of creating a new react app for this which can also be served via express sever. I will add the basic setup for that, and then you can start working on this.

Also, let's break this into multiple subtasks for now:

  1. create an additional parameter in the user model for isAdmin which is false for all users by default and a sign-in dashboard for admin users with a route /sign-in. once signed in the user can see a blank page for now. This can be considered a level 2 since a simple sign-in route and sign-in page needed to be added.
  2. Add a user menu in the admin panel where the admin user can see all the users with their username, email, verified status, an option to make them admin user, and lastly an option to block the user. Once the user is blocked, the user cannot sign in. This can be assigned level 2.

I will tell you more features, for now, implement these. Depending on the work, labels can later be discussed after you implement the prs. If this becomes too much work, you can split the tasks with someone else and collaborate with them on this issue.

Okay, I will work on the user admin feature and if help needed I will involve @manikumarreddyu in this feature respectively. Just provide me the basic setup and we good to go 🙂

VaibhavArora314 commented 2 days ago

I have added the admin folder with basic setup, you guys can start working on this.

MeetDOD commented 2 days ago

@VaibhavArora314 should I create new issue and work on it ? like that way we can avoid confusion and it will be structured manner.

manikumarreddyu commented 2 days ago

i think creating new issues is better

VaibhavArora314 commented 2 days ago

@VaibhavArora314 should I create new issue and work on it ? like that way we can avoid confusion and it will be structured manner.

sure, go ahead

manikumarreddyu commented 2 days ago

hey @VaibhavArora314 created new issue with same title .is it ok ?

VaibhavArora314 commented 2 days ago

hey @VaibhavArora314 created new issue with same title .is it ok ?

same titles can be confusing, rather create issues with the title of the feature being implemented

manikumarreddyu commented 2 days ago

hey @VaibhavArora314 created new issue with same title .is it ok ?

same titles can be confusing, rather create issues with the title of the feature being implemented

i will change it to admin approach..is it ok

MeetDOD commented 2 days ago

@manikumarreddyu bro you don't create issues on admin i will tell you if help needed 😄 we will work in the same issues only

manikumarreddyu commented 2 days ago

okay @MeetDOD