GUI and Functions for Persistence layer using Twilio Sync
Download this repo, run twilio login if needed, then twilio serverless:deploy
That will deploy a Runtime Service. Paste the asset url ending in /index.html into a web browser to complete the set up and start using!
You will also need to create a sync service and paste the SID into the .env file.
twilio login
if needed, then twilio serverless:deploy
The source code for the single page application is writting in Vuejs 3 and it is in this repo. You are welcome to develop locally to customize or extend Sync Helper. Run npm run dev
from the sync-helper/client-src/sync-helper/ directory to figure up a local dev server.
Run npm run build
to build a new version of the SPA. The files get placed in the /assets directory and will get deployed when running twilio serverless:deploy
from the root directory.
If you want to extend the Sync Helper client source code, you can make changes in sync-helper/client-src/sync-helper/. Edit the file “sync-helper/client-src/sync-helper/.env.development” with the domain to your Twilio Serverless Service to be able to make http calls from your local machine. You can edit and deploy the Twilio Functions as needed.