This is a sample app that we have created for the Wix Bookings REST API.
It enables you to:
- View all bookings in a list format (instead of calendar)
- Filter the view by date and/or status
- Update attendance and payments directly from this list.
Use this repository as a code example to further build an app of your own, or install it on your store and use it out of the box. See here for the Bookings API documentation.
We used React, mobX & Express in this sample application.
This is a list of all the API endpoint we've used during the development of the app:
- List Services
- List Resources
- Bookings Reader List
- Calendar List Slots
- Mark as Paid
- Reschedule Booking
- Confirm Booking
- Decline Booking
- Set Attendance
- Update Session
- MySQL / Postgres
- Node
- Yarn
- Follow the instructions of creating a Wix application here.
- Clone this repository.
- Rename the
.env.example
files inside the client & the server folders to.env
. - Update the settings in the
.env
files to your configuration. - Run the migration SQL query in order to set up your DB structure - migration.sql.
- Run the app:
- cd client && yarn start
- cd server && yarn start