/nodejs-chat-app

Full Stack Chat Application with SMS configuration.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Node.js Chat App

image

Full Stack Chat Application with SMS configuration.

Requirements

Installation

$ touch .env

required environment variables

  • API_SECRET: secret string for signing session cookies
  • API_ORIGIN: URI for configuring web sockets and making api requests
  • COSMIC_READ_KEY: Your Cosmic JS read access key
  • COSMIC_WRITE_KEY: Your Cosmic JS write access key
  • TWILIO_ACCOUNT_SID: Congifuration variable for your twilio account
  • TWILIO_AUTH_TOKEN: Twilio authentication token for authentitcation requests to Twilio API.
  • TWILIO_NUMBER: Twilio Number associated with your Twilio account.
    • NOTE: This should be 15005550006 if using test environment.
  • ADMIN_NUMBER: A Phone number that will be sent SMS messages when chat message are created. $ npm install $ npm run dev $ npm start