rithmschool / elevate

Human resources for the employee.
0 stars 0 forks source link

Appointments (backend) #31

Closed Nalipp closed 5 years ago

Nalipp commented 5 years ago

Data model for the appointments table For now appointments can be one to one between two users

Some general ideas on the data model model :

start time/date end time/date

did the appointment actually take place / no-show (boolean value)

description / needs (provided by customer) description / notes (provide by admin)

stephaniesimms commented 5 years ago

investigating Calendly integration and Webhooks subscription: https://developer.calendly.com/docs/getting-started https://help.calendly.com/hc/en-us/articles/360020052833-Advanced-embed-options#3 https://stackoverflow.com/questions/53891698/embed-calendly-into-react

Stripe webhooks documentation (more informative): https://stripe.com/docs/webhooks/setup

Testing notes:

Misc questions:

PRs to submit:

  1. data.sql update (make appt dates for distant future)
  2. webhook endpoint and tests; appointments model and tests
stephaniesimms commented 5 years ago

PR merged documentation details added to readme