Skip to content

A simple messenger using Socket.io, MongoDB and Express

Notifications You must be signed in to change notification settings

nvcken/simple-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple messenger using Socket.io, MongoDB and Express

Setup

npm install

Config MongoDB connection

Copy .env.example and rename to .env file

MONGODB_URL="mongodb://localhost:27017"
MONGODB_REQUIRE_AUTH=true
MONGODB_USER="admin"
MONGODB_PASS="admin"
MONGODB_AUTH_DB="admin"
MONGODB_DB_NAME="messenger_db"

How to use

npm start
  • Then Open browser http://localhost:3000
  • Input username
  • Open another page, input with another name, then we can choose which one we want to private message

About

A simple messenger using Socket.io, MongoDB and Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published