Skip to content

Karthik Ajay bmv #97

Open
karthikajay04 wants to merge 2 commits into
WeCode-Community-Dev:mainfrom
karthikajay04:feature/auth-role-management-fixed
Open

Karthik Ajay bmv #97
karthikajay04 wants to merge 2 commits into
WeCode-Community-Dev:mainfrom
karthikajay04:feature/auth-role-management-fixed

Conversation

@karthikajay04

Copy link
Copy Markdown

Description

This pull request introduces significant feature enhancements to the BookMyVenue platform across authentication, venue management, booking workflows, administration, and overall application architecture.

✨ Key Changes

  • Implemented multi-role authentication with User, Venue Owner, and Admin roles using JWT.
  • Added role-based route protection and dashboard access.
  • Introduced a complete Venue Owner workflow for creating, updating, and managing venue listings.
  • Built an Admin Dashboard with platform statistics, venue moderation, booking auditing, and user management.
  • Refactored venue ownership from email-based relationships to host_id foreign keys for improved database integrity.
  • Added support for both daily and hourly venue bookings.
  • Implemented configurable operating hours and cleaning buffer validation for hourly bookings.
  • Added offline booking/maintenance blocking for venue owners.
  • Enhanced booking workflow with renter information collection, payment tracking, cancellation handling, and refund calculations.
  • Improved backend controllers, routes, and API documentation with JSDoc comments.
  • Refactored frontend routing and UI for role-based navigation and improved user experience.
  • Updated project documentation and overall code organization.

Phase Category

  • Phase 1: MVP Submission (Base Foundation)
  • Phase 2/3: Feature Implementation or Modularization
  • Phase 4: Scalability Optimization
  • General (Documentation, Bugfix, Chore, etc.)

Tech Stack (For Phase 1 MVP Submissions)

  • Frontend: React, Vite, Tailwind CSS, Framer Motion, React Router
  • Backend: Node.js, Express.js
  • Database: PostgreSQL

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature / Module (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist:

  • I have read the Contribution Guidelines.
  • My code follows the community spirit and standards of the WeCode community.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings or errors.

AI Disclosure

  • I did NOT use AI tools to generate this code.
  • I used AI tools (e.g., Copilot, ChatGPT, Claude) to help write this code, and I have fully reviewed, tested, and understand the output.

Screenshots / Screen Recording (if applicable)

Authentication

  • User Login
  • Venue Owner Login
  • Admin Login

Venue Management

  • Venue Listing
  • Venue Details
  • Add Venue
  • My Venues

Booking

  • Booking Flow
  • My Bookings
  • Host Booking Dashboard

Administration

  • Admin Dashboard
  • Venue Approval/Rejection
  • User Management

General UI

  • Home Page
  • Role-based Navigation
  • Responsive Layout

@karthikajay04 karthikajay04 changed the title Feature/auth role management fixed feat: add multi-role authentication, booking workflow improvements, and admin management Jul 5, 2026
@karthikajay04 karthikajay04 changed the title feat: add multi-role authentication, booking workflow improvements, and admin management Karthik Ajay bmv Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant