https://github.com/cosmicjs/nodejs-chat-app
Full Stack Chat Application with SMS configuration.
https://github.com/cosmicjs/nodejs-chat-app
Last synced: 6 months ago
JSON representation
Full Stack Chat Application with SMS configuration.
- Host: GitHub
- URL: https://github.com/cosmicjs/nodejs-chat-app
- Owner: cosmicjs
- License: gpl-3.0
- Created: 2019-06-19T15:31:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-01T08:12:34.000Z (about 3 years ago)
- Last Synced: 2025-04-05T05:03:24.968Z (9 months ago)
- Language: JavaScript
- Homepage: https://cosmicjs.com/apps/cosmic-messenger
- Size: 3.01 MB
- Stars: 26
- Watchers: 3
- Forks: 12
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node.js Chat App

Full Stack Chat Application with SMS configuration.
### [View Demo](https://cosmicjs.com/apps/cosmic-messenger)
## Requirements
- [Cosmic JS Bucket](https://cosmicjs.com/add-bucket?import_bucket=5cf1605916e7ec14adabbb89)
- [Twilio Credentials](https://www.twilio.com/console)
## 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`