Skip to content

Darshan-V/Airbnb-clone

Repository files navigation

REVIEWS

  • move routes to routes folder
  • read cors mdn
  • exception handling in controllers
  • use session data to get user details after login
  • handle exception according to the response
  • move the checkAvailableSlots to the booking route -> dep: calender
  • fix date slice Reservation.jsx
  • store updated session somewhere
  • send the session details to the frontend
  • BUG signup confirm password mismatch -> registered : split credentials check into functions: no trim password
  • signin error response for wrong password
  • send proper status code never error object
  • Bcrypt.compare returns true when password matched and return false when not matched
  • add route for filter
  • error message on checkin and checkout indivisualy disable reserve button on invalid dates
  • React date picker / disable booked dates
  • use query params for the filter/search -> one filter api
  • file naming use only camelCase
  • implement the middleware for verify token
  • fix routes / move route prefix to the app.js
  • move verify token to middleware folder
  • better exception handling {backend} different error codes for all the possible cases
  • validations backend
  • include created at to all the tables

Frontend

  • default map center getfrom geolocation
  • include routes for mapview, filter, search
  • break down reservation component to smaller components
  • implement models using ui library -> done on search
  • make a priority list
  • hide price when invalid date and slot unavailable
  • *** Layout
  • Loading page
  • add search string in the store and retrive it when back on home
  • strictly aviod optional chaining in backend
  • clear res.cookie on logout