View availability and book instantly.
Table name: Intervals
Required fields:
| Name | Type | Description |
|---|---|---|
| name | text | interval name |
| week | text | week. valid options include: monday、tuesday、wednesday、thursday、friday、saturday、sunday |
| start | text | start time. format: e.g. '08:00' |
| end | text | end time. format: e.g. '18:00' |
Table name: Resources
Required fields:
| Name | Type | Description |
|---|---|---|
| name | text | resource name |
| intervals | link | linked to Intervals |
Table name: Bookings
Required fields:
| Name | Type | Description |
|---|---|---|
| name | text | - |
| start_time | date | start time |
| end_time | date | end time. format: e.g. '08:00' |
| end | text | end time. format: e.g. '18:00' |
| is_canceled | checkbox | whether the booking has been canceled |
| resource | link | linked to Resources |
-
Install dependencies
-
Add
/src/setting.js(optional)
export default {
server: "",
appUuid: "",
accountToken: "",
pageId: "", // create an html page in universal app first
};- Run the following command to start the development server
npm run dev-
Update the version in
package.json -
Run the following command to build the page
npm run build-page- The page is built in
page-zipdirectory