Skip to content

nodejshobby/chat-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Socket IO chat application with authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published