https://github.com/cosmicjs/appointment-scheduler
An appointment scheduler built using React, Twilio and Cosmic
https://github.com/cosmicjs/appointment-scheduler
cosmicjs javascript nodejs react twilio
Last synced: 11 months ago
JSON representation
An appointment scheduler built using React, Twilio and Cosmic
- Host: GitHub
- URL: https://github.com/cosmicjs/appointment-scheduler
- Owner: cosmicjs
- Created: 2017-09-11T22:11:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-07T01:01:32.000Z (over 3 years ago)
- Last Synced: 2025-04-05T04:51:15.095Z (about 1 year ago)
- Topics: cosmicjs, javascript, nodejs, react, twilio
- Language: JavaScript
- Homepage: https://www.cosmicjs.com/apps/appointment-scheduler
- Size: 3.39 MB
- Stars: 135
- Watchers: 9
- Forks: 41
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Appointment Scheduler

### [View Demo](https://cosmicjs.com/apps/appointment-scheduler/demo)
This Appointment Scheduler lets users select a day and a one-hour time slot between 9AM and 5PM to meet with us. It integrates with Twilio to send a confirmation text that their appointment has been scheduled.
This also comes with a [Cosmic Extension](https://www.cosmicjs.com/extensions) so we can manage the appointments right from within the Cosmic dashboard.
### Getting Started
#### Local Installation
1. [Go to Cosmic](https://www.cosmicjs.com) and create a Bucket to store your appointments.
2. Download the repo
```
git clone https://github.com/cosmicjs/appointment-scheduler
```
3. Copy the `config/production.js` file into a new `config/development.js` file. Either hard code or add your variables via the start command.
4. Install packages and start the app
```
npm i
COSMIC_BUCKET=your-bucket-slug COSMIC_READ_KEY=your-bucket-read-key COSMIC_WRITE_KEY=your-bucket-write-key npm start
```
Go to http://localhost:3000 to see your app. To connect to Twilio, you will need to first create a Twilio account and add your access keys.
#### Cosmic Installation
You can also install the app directly to your Cosmic Bucket by clicking Select App [here](https://www.cosmicjs.com/apps/appointment-scheduler). To connect your Twilio keys, just add them to the environment variables section of your Bucket `Your Bucket Dashboard > Deploy Web App > Set Environment Variables`