/Harmony

Primary LanguageTypeScript

Harmony

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.

Getting Started

  1. Clone the repo
git clone https://github.com/Zyrhine/Harmony.git
  1. Install root directory and server directory
npm install
  1. Start server in server directory
node .
  1. Launch angular client in root directory
ng serve --open

MongoDB

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...