Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muhammedt1207/spa-appointment-whatsapp-chatbot-tilio
Build a Spa Appointment Booking System using Node.js and Express.js. The system should allow users to book, modify, and cancel appointments
https://github.com/muhammedt1207/spa-appointment-whatsapp-chatbot-tilio
express nodejs tilio
Last synced: 12 days ago
JSON representation
Build a Spa Appointment Booking System using Node.js and Express.js. The system should allow users to book, modify, and cancel appointments
- Host: GitHub
- URL: https://github.com/muhammedt1207/spa-appointment-whatsapp-chatbot-tilio
- Owner: muhammedt1207
- Created: 2024-12-06T14:35:21.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2024-12-06T14:36:59.000Z (21 days ago)
- Last Synced: 2024-12-06T15:33:29.761Z (21 days ago)
- Topics: express, nodejs, tilio
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
# Spa Appointment Booking System
## Overview
A comprehensive spa appointment booking system with WhatsApp integration, built using Node.js and Express.js.## Features
- Web-based booking interface
- WhatsApp booking and management
- File-based appointment storage
- Real-time notifications## Prerequisites
- Node.js (v14+ recommended)
- Twilio Account (for WhatsApp integration)
- npm## Setup Instructions
1. Clone the repository
```bash
git clone https://github.com/yourusername/spa-booking-system.git
cd spa-booking-system
```2. Install dependencies
```bash
npm install
```3. Configure Twilio
- Create a `.env` file
- Add your Twilio credentials:
```
TWILIO_ACCOUNT_SID=your_account_sid
TWILIO_AUTH_TOKEN=your_auth_token
```4. Start the server
```bash
npm start
```## Endpoints
- `GET /`: Booking form
- `POST /api/appointments/book`: Book an appointment
- `POST /api/appointments/modify`: Modify an appointment
- `POST /api/appointments/cancel`: Cancel an appointment
- `POST /whatsapp/webhook`: WhatsApp message handler## WhatsApp Commands
- BOOK: Start booking process
- CHECK: View existing appointment
- CANCEL: Cancel appointment## Future Enhancements
- Database integration
- Advanced scheduling
- Payment processing