Skip to content

JacobKnaack/cosmic-messenger

Repository files navigation

cosmic-messengercosmic-messenger

Full Stack Chat Application with SMS configuration.

Requirements

Installation

Fetch source code

git clone https://github.com/JacobKnaack/cosmic-messenger.git 

Configure environment variables

$ touch .env

Add variables to .env

# .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.
__ADMIN_NUMBER__= A Phone number that will be sent SMS messages when chat message are created.
  • NOTE: That while testing, you should use 15005550006 as your TWILIO_NUMBER.

Install dependencies

$ npm install

Run development node

$ npm run dev

Default start

$ npm start

About

Chat Application with SMS configuration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published