cosmicjs / nodejs-chat-app

Full Stack Chat Application with SMS configuration.

Home Page:https://cosmicjs.com/apps/cosmic-messenger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Full Stack Chat Application with SMS configuration.

https://cosmicjs.com/apps/cosmic-messenger

License:GNU General Public License v3.0


Languages

Language:JavaScript 94.7%Language:CSS 2.8%Language:HTML 2.5%