Full Stack Chat Application with SMS configuration.
$ touch .env
- 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.
- NOTE: This should be
- ADMIN_NUMBER: A Phone number that will be sent SMS messages when chat message are created.
$ npm install
$ npm run dev
$ npm start