This is a simple chat app with a single chat room. Anyone can go to the website, log in with an identifier, and send messages.
Make sure you have node js installed before proceeding.
Clone the project
git clone https://github.com/tanushchauhan/chat-app.gitGo to the project directory
cd chat-appInstall dependencies
npm installBuild the app
npm run buildStart the server
npm startYou will also need to set up a database in Superbase and ensure real-time subscribing for insert queries is enabled. You will also need to change the key and URL in the application code.
GET /api/chats POST /api/chats| Body content | Type | Description |
|---|---|---|
{ sender, content } |
string |
Required. The identifier of the sender as sender and the message itself as content |


