Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 889 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 889 Bytes

chat-application with authentication

This app uses ejs as template engine, socket.io node modules for the implementation of the socket programming for the Chat Application, Passportjs for the authentication with bcryt node module for hashing the user password, express validator for validation of user inputs.

This app implements private Room chatting system with all chats saved in mongodb database for persistence purpose

To run this app Room Seeder

node src/seeder/roomSeeder

Create a .env file with the following key-value structure in the root folder

DB_URL=put Database connection URI here
SESSION_SECRET=put something random and secret here
chatAppName=Chatter
SESSION_COLLECTION_NAME=chatSessions

To run this app locally run

npm install
npm run start

An instance of this app is running @ https://chatvivy.herokuapp.com