/nice-flesh-360

SALONLEX: A website to book salon appointment and also select the type of haircut and the hair stylist as per your own preference.

Primary LanguageHTML

SALONLEX: Hair Salon Appointment Booking System



Description

SALONLEX is a hair salon website that enables customers to book appointments online. The platform showcases available time slots, stylists, and charges for haircuts, allowing for a seamless user experience.

Collaborators

  1. Amarjeet Kumar (Team Lead)

  2. Love Porwal (Team Member)

  3. Rahul gandhi (Team Member)

  4. Shahfaisal pinitod (Team Member)

  5. Aditya Raj (Team Member)


Deployed Link


Tech Stack

Frontend

HTML | CSS | JavaScript

Backend

Node.js | Express.js

Database

MongoDB Atlas | Redis

CSS Libraries

BootStrap

Schema :

  • user

    • name
    • age
    • gender
    • email
    • password
  • stylist

    • image_urls
    • Stylists_name
    • descriptions
  • style

    • Name
    • Image
    • Price
    • Gender
  • products

    • title
    • img
    • price
    • mrp_price
    • description
    • discount
    • category
    • rating
    • type
  • appointments

    • stylist_id
    • user_id
    • style_id
    • date
    • time
    • style_name
    • styler_name
  • Admin

    • name
    • linkedin
    • Github
    • email
    • password
    • image

# API Endpoints 

users


    GET    -   /users
    POST   -   /users/register
    POST   -   /users/login
    GET    -   /users/logout
    PATCH    -  /users/update/:id
    DELETE    -  /users/delete/:id  

Style


  • Male Style

      GET    -   /style/male 
      POST   -   /style/male 
    
  • Female Style

      GET    -   /style/female
      POST   -   /style/female
    

Stylist


  • Stylers

      GET    -   /stylist/male
      GET    -   /stylist/female
      POST   -   /stylist/male/query
      POST   -   /stylist/female/query
      PATCH  -   /stylist/update/:id
      DELETE -   /stylist/delete/:id
    

Appointment


  • Appointment

      GET    -   /appointments
      POST   -   /appointments/new
      PATCH  -   /appointments/update/:id
     PATCH  -   /appointments/update/:id
     PATCH  -   /appointments/update/stylistid
     DELETE -   /appointments/delete/:id
     DELETE -   /appointments/delete/stylistid
    

    Products


  • Products

      GET    -   /Product
      GET    -   /Product/men
      GET    -   /Product/women
      POST   -   /Product
      POST   -   /Product/orders
      PATCH  -   /Product/:id
      DELETE -   /Product/:id
    

System Design

1. Home Page



Home 1

home 2

home 3

2. Login



login

3. Signup



signup

4. Products



image

image

5.Style



image

6. Appointments



Appointments

6. Service



Service

6. Admin



Admin