Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (29 loc) · 1.02 KB

realtime-chat-app

This project contains the source code for a realtime chat application with sentiment analysis. With sentiment analysis, we are able to detect the mood of a person based on the words they use in their chat messages.

Chat Screenshot

Setup Instructions

  1. Clone the repository into a new directory on your machine.
  2. Install the dependencies by running the following command from the new directory.
npm install

or using yarn

yarn add
  1. Create a .env file in the root of the new directory with the following content.
# Pusher App Credentials
PUSHER_APP_ID=YOUR_APP_ID
PUSHER_APP_KEY=YOUR_APP_KEY
PUSHER_APP_SECRET=YOUR_APP_SECRET
PUSHER_APP_CLUSTER=YOUR_APP_CLUSTER
  1. Start the app by running the following command. The app will runs on port 3000 except that port is already in use.
npm run dev

For production

npm start