Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add serverless backend #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add serverless backend #30

wants to merge 2 commits into from

Conversation

chaosloth
Copy link

Adds Twilio Serverless (Typescript) as a backend option similar to and based on the Express version.

The resulting react app is also placed in the serverless/assets directory so that the entire project may be hosted on a Twilio Serverless function.

Cosmetic tweak to the react app to show Twilio logo (or customer logo) by replacing the public/logo.png file

Note the Express server has been adjusted to use /api/ routes prefix for initWebchat and refreshToken to match the serverless implementation, the serverless implementation could also be changed to drop the api route if needed.

@mkuklis
Copy link

mkuklis commented Feb 2, 2023

@chaosloth this is a fantastic approach. Any chance this will be merged?

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants