Comments (2)
investigating Calendly integration and Webhooks subscription:
https://developer.calendly.com/docs/getting-started
https://help.calendly.com/hc/en-us/articles/360020052833-Advanced-embed-options#3
https://stackoverflow.com/questions/53891698/embed-calendly-into-react
Stripe webhooks documentation (more informative):
https://stripe.com/docs/webhooks/setup
- add webhook endpoint to elevate server
- create a webhook subscription POST to calendly, use ngrok to test locally
- test receiving webhook events, respond with 200 received
- design data model for appointments/events: users, appointments (entire event object), join table for active appts
- parse JSON event object
- create schema to validate data TODO: add email
- add validation to route
- write business logic to handle invitee.created and invitee.canceled events
- appointments model with find, create/reschedule, cancel
- finish tests
Testing notes:
- restart local server AND ngrok every time we make a change to code
- establish new webhook with calendly
- continue testing
- as long as 200 status can continue testing without restarting
Misc questions:
- single webhook subscription for team/admin. each professional needs own calendly account. add calendly user ids to elevate users_calendly_users table to associate it with user id.
- Stripe docs on best practices/handling duplicate events: logging the events you’ve processed, and then not processing already-logged events
- exception for CSRF - other security issues?
PRs to submit:
- data.sql update (make appt dates for distant future)
- webhook endpoint and tests; appointments model and tests
from elevate.
PR merged
documentation details added to readme
from elevate.
Related Issues (20)
- Get Travis CI working on frontend
- Architecture refactor
- Remove sidebar from admin panel
- Add react router to admin panel
- standardize forgot password forms
- Remove react-bootstrap npm package HOT 1
- Intermittent failing test on the backend.
- remove mql from admin table
- User dropdown visual toggle HOT 1
- search functionality in admin panel
- generalQuestion box
- node mailer
- readme
- remove warnings and errors
- Signup and login submission should have spinner
- error handling
- The user profile update form should be split into two forms HOT 1
- Admin Questions sort by completed status
- Allow admin to mark question as answered
- There is a UnhandledPromiseRejectionWarning in frontend tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elevate.