Real-time chat system
A chat system implemented using Node.js, Angular, Socket.IO and MongoDB. This system allows for users to communicate with each other in real-time within different groups and channels. Users may be assigned roles for additional permissions.
- Clone the repo
git clone https://github.com/Zyrhine/Harmony.git
- Install root directory and server directory
npm install
- Start server in server directory
node .
- Launch angular client in root directory
ng serve --open
Edit server.js with your MongoDB server details. By default the server will expect a database called 'harmony' with the collections 'users', 'channels', 'groups', 'messages'. To start, insert at least one user with role = 0.
_id: ObjectId
email: string
name: string
password: string
role: Int32
Importable example database: Coming Soon...