RamakrushnaBiswal / PlayCafe

it a cafe website🚀
https://play-cafe.vercel.app/
MIT License
17 stars 56 forks source link

Implement Admin Panel for Managing Events on Café Website (Frontend and Backend) #91

Open samar12-rad opened 6 days ago

samar12-rad commented 6 days ago

Describe the feature

Currently, the café website lacks an admin interface for managing events. To streamline the process of adding and removing events, an admin panel should be created where the admin can easily manage events displayed on the website. This feature will allow the admin to create, update, and delete events dynamically.

Proposed Solution:

Create Admin Panel: Develop a new admin panel section in the frontend where the admin can log in and manage events.

The admin should be able to: Add new events (title, description, date, time, etc.) Delete past events that are no longer relevant Edit or update existing event details.

Backend API Integration: Create backend routes and functionality to handle the addition, deletion, and updating of events. Ensure proper authentication so that only authorized users (admins) can access these routes.

Frontend Design:

Design a user-friendly interface for the admin panel with clear input fields for event creation and options for managing events. Incorporate status messages (e.g., success, error) for actions like adding, deleting, and editing events.

Admin Authentication: Use Kinde auth to implement admin authentication and role-based access to ensure only admins can manage the events.

Benefits: Allows the café owner to manage events without direct access to the codebase. Makes it easier to keep the events section updated, showing only relevant and upcoming events. Provides a dynamic solution that saves time and effort in managing event data.

Add ScreenShots

image

Record

github-actions[bot] commented 6 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. for more information join our discord https://discord.gg/Jh3bWQ7FRN

RamakrushnaBiswal commented 6 days ago

@samar12-rad go for it. Can you fix this page UI ?

samar12-rad commented 5 days ago

@RamakrushnaBiswal , yes I can fix the ui for it? Can I please create an issue for that?

RamakrushnaBiswal commented 5 days ago

@samar12-rad sure

samar12-rad commented 5 days ago

@RamakrushnaBiswal assign me #98