kurtobando / simple-chat-api

A simple chat application powered from GatsbyJS, NodeJS, Mongoose and socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Chat

The "Simple Chat" application powered from GatsbyJS, NodeJS, MongooseJS and socket.io allow user to create "public" and "private" rooms, with privacy in mind.

Which means, we never save your messages on our server, only active chat members who can read your messages during your active session. Thanks to socket.io enables real-time, bidirectional and event-based communication.

Simple Chat Preview

Have doubts? Check Source Code

Client github.com/kurtobando/simple-chat

Server API github.com/kurtobando/simple-chat-api

Demo

Visit simple-chat.kurtobando.com

Installation

Simple Chat requires Node.js v14+ to run.

Development

create .env

APP_URL=http://localhost
APP_PORT=3000
MONGO_CONNECTION=MONGO_DB_CONNECTION_STRING
ORIGIN_URL=SIMPLE_CHAT_CLIENT_URL

Then.

npm install
npm run develop

Production

create .env

APP_URL=http://localhost
APP_PORT=3000
MONGO_CONNECTION=MONGO_DB_CONNECTION_STRING
ORIGIN_URL=SIMPLE_CHAT_CLIENT_URL

Then.

npm install
node ./src/server.js

License

MIT

About

A simple chat application powered from GatsbyJS, NodeJS, Mongoose and socket.io


Languages

Language:JavaScript 100.0%