Closed pathak-aman closed 2 years ago
Created the model for booking. //File: Booking.go //Branch: backend_booking_appointment
Created a controller that creates a booking for a given teacherId, userId, slotId, skillId. In the DB, it also stores the date of appointment which is calculated from the slot chosen for the appointment.
// File: controllers/createBooking.go // Route: "/api/booking/create"
I would want to book an appointment so that I can learn.