Project Title
A brief description of what this project does and who it's for
blue Chat
A Real Time Chat Application built using Node.js, Express, Mongoose, Socket.io, Passport
Index
Demo
Check Demo (coming Soon 🎈)
Features
- Uses Express as the application Framework.
- Manages Sessions using express-session package.
- Authenticates via Gooogle using Passport.
- Real-time communication between a client and a server using Socket.io.
- Uses MongoDB, Mongoose and MongoLab(mLab) for storing and querying data.
- Stores session in a MongoDB using connect-mongo; a MongoDB-based session store.
Installation
Running Locally
Make sure you have Node.js and npm installed.
-
Clone or Download the repository
$ git clone https://github.com/sajjadmrx/blue-chat.git $ cd blue-chat
-
Install Dependencies
$ npm install
-
configure .env file
MONGODB_URI = mongodb://localhost:27017/blueChat GOOGLE_CLIENT_ID = 1111111-xxxxxxxxxxxx.apps.googleusercontent.com GOOGLE_CLIENT_SECRET = xxxxxxxxxxxxxxxxx GOOGLE_CALLBACK_URL = http://localhost:4000/auth/callbacks/google
-
Start the application
$ npm start
Your app should now be running on localhost:4000.