Skip to content

feat: add initial authentication structure#15

Open
Thiyophin wants to merge 1 commit into
WeCode-Community-Dev:mainfrom
Thiyophin:feat/login-signup
Open

feat: add initial authentication structure#15
Thiyophin wants to merge 1 commit into
WeCode-Community-Dev:mainfrom
Thiyophin:feat/login-signup

Conversation

@Thiyophin
Copy link
Copy Markdown

Description

This PR introduces the Phase 1 MVP foundation for Book My Venue, a venue booking platform.

Features Implemented

  • User authentication system
    • User signup
    • User login
    • Password hashing using bcrypt
    • JWT token generation
  • MongoDB Atlas integration
  • User model and role-based structure (User, Venue Owner, Admin)
  • Venue model implementation
  • Venue listing API (GET /api/venues)
  • React frontend setup with Vite
  • Tailwind CSS integration
  • Signup and Login pages
  • User homepage with venue listing
  • API integration between frontend and backend
  • Routing setup using React Router

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, Axios, React Router DOM
  • Backend: Node.js, Express.js, JWT Authentication, bcryptjs
  • Database: MongoDB Atlas, Mongoose

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 Pages

  • Signup Page
  • Login Page

Homepage

  • Venue listing homepage displaying venues fetched from the backend API

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