This is a appointment booking system which is designed specifically for booking appointments with lawyers. It offers a streamlined process for clients to find and book appointments with legal professionals, ensuring that they have access to the legal advice and representation they need.
- HTML
- CSS
- JavaScript
- MongoDB
- NodeJS
- ExpressJS
- Mongoose
-
"/" => will give welcome note
-
"/users/register" => use it to register a user
-
"/users/login" => use it to login a user
-
"/all" => (only for Admin Purpose, Admin Authentication Required) use it to get all users data
-
"/lawyer/register" => use it to register a lawyer
-
"/lawyer/login" => use it to login a lawyer
-
"/lawyer/add" => (only for Lawyer Purpose, Lawyer Authentication Required) use it to add Slots
-
"/admin/register" => use it to register as an Admin
-
"/admin/login" => use it to login as an Admin
Authentication Required (in below routes) (for Users, Lawyers, Admins)
-
"/avail/" => use this to get all Lawyers data
-
"/avail/type/:type" => use this to get Lawyers list by their type
-
"/avail/name/:name" => use this to get Lawyers list by their name
-
"/avail/slots/:lawyerID" => use this to get all available slots of a particular lawyer by It's ID
-
"/avail/lawyerBookings/:lawyerID" use this to get list of all booked slots by lawyerID (only for lawyers)
-
"/avail/userBookings/:userID" use this to get list of all booked slots by userID(only for users)
-
"/book/" => (only for users) to book slots by providing (lawyerID, userID, slotID) in body
-
"/book/allBookings" (only for Admin purpose) use this to get list of bookings