An open API service indexing awesome lists of open source software.

https://github.com/naturalclar/real-time-chat-app

A real time chat app made with Next.js and Pusher
https://github.com/naturalclar/real-time-chat-app

Last synced: about 1 year ago
JSON representation

A real time chat app made with Next.js and Pusher

Awesome Lists containing this project

README

          

# Realtime Chat Application with Sentiment Analysis

A real time chat application build with [Next.js](https://nextjs.org/) and [Pusher](https://pusher.com/).

Referenced [this Medium Post](https://codeburst.io/build-a-chat-app-with-sentiment-analysis-using-next-js-c43ebf3ea643) about making the said application.

## Getting Started

### Prerequisite

- [Node.js](https://nodejs.org/)
- [yarn](https://yarnpkg.com/)(optional)
- [Pusher Account](https://pusher.com/)

### Setup

- Run `npm install` or `yarn add` to install dependencies.

- On root directoyy of your project, create a `.env` file that contains your pusher app information.

```
PUSHER_APP_ID=YOUR_APP_ID
PUSHER_APP_KEY=YOUR_APP_KEY
PUSHER_APP_SECRET=YOUR_APP_SECRET
PUSHER_APP_CLUSTER=YOUR_APP_CLUSTER
```

- Build the App

`npm run build` or `yarn build` to build the app.

- Start the App

`npm run start` or `yarn start` to start the app.

## Credits

Credits to [realtime-chat-with-sentiment](https://github.com/christiannwamba/realtime-chat-with-sentiment)