The server application to handle chat bot and dealing with both patients and vonlunteers information
- Firebase CLI
- NodeJS
firebase functions:config:get > .runtimeconfig.json
firebase functions:config:get | ac .runtimeconfig.json
- firebase
- ngrok
- Install firebase emulators (install every emulator).
firebase init emulators
- Start the cloud function server.
cd functions
yarn install
yarn test
- Start the ngrok tunnel (Using region Japan).
ngrok http -region=jp 5001
- Connect webhook to line.
Your webhook url should look like this: "http://localhost:5001/(project_name)/asia-southeast2/webhook" <- local webhook.
Replace local webhook domain with ngrok domain.