Skip to main content

WebSocket server

WebSocket server to handle realtime data like user chat and dispatching actions for User Interface.


  • BASE_ROUTE - Base route for API URL (e.g. /social for URL
  • GATEWAY - Gateway URL to access API (e.g.
  • ORIGIN - Origin to accept by WebSocket server (e.g.,
  • PAYLOAD_SECRET - You long string/random payload secret using to secure Microservices calls by HMAC.
  • PUBLIC_KEY - Generated public key using openssl ec -in key -pubout -out
  • EMAIL_NOTIFY_INTERVAL - The time interval to send user notifications by email. Each time it will read 10 user notifications.
  • FN_UUID - Function identifier to call API functions.

Make sure that your PAYLOAD_SECRET, PUBLIC_KEY are not exposed to public.

⭐️ This page needs help. Please help with your contribution. To start click on edit button.