This plugin allows you to add appointment scheduling capabilities to your payload app. It provides:
- Customers, Hosts, Services and Appointments collections
- An Appointment schedule calendar view.
- Opening times global.
- Authentication on Customers collection.
npm i payload-appointments-plugin
import appointments from "payload-appointments-plugin";
export default buildConfig({
/* ... */
plugins: [appointments()],
/* ... */
});
follow instructions on PayloadCMS Email Docs
- Customers collection
- Auth on collection
- Firstname, lastname, username, dob, email, password
- Appointments collection
- Appointment type, Host, Customer, Services, Title, Start date/time, End date/time
- Appointment type is appointment or blockout (lunch, break, interview, meeting, day off? etc.)
- Endpoint for getting available time slots
- Add new properties/attributes to default auth collection
- Taking appointments checkbox
- Preffered name
- Calendar subscription
- Services collection for ...services
- Title
- Description
- Duration
- Cost
- Emails
- Email config (Will need to be added by the dev)
- React email templates
- Appointment created email
- Add iCal link/file to email
- Appointment updated email
- Add iCal link/file to email
- Customer signed up email
- Forgot password email
- Appointment created email
- Custom payload views
- Appointments schedule view /appointments-schedule
- Endpoints
- Get available timeslots for given date, services, host
- Calendar schedule view
- Ability to add appointments by clicking/tapping slot in calendar
- Get start date and time from clicked slot
- Get host from clicked slot
- Ability to add appointments by clicking/tapping slot in calendar
- Opening times global
- Monday...Sunday
- Set times for different days of week
- Define if closed on that day
A lot more I want to add. But may need some help.
I'm new to testing...