An Angular 2 material design socket.io chat application
- Unique nicknames
- Rooms with instant messaging
- Can view the entire chat history of the room
- Create and join rooms
- Op, deop, kick and ban users in your room
- Private messages
- Private message history with everyone you've messaged to
- Toast notifications
- Beautiful UI
In order to run Holocron on your own machine, you will need node.js in order to use npm to install the dependencies and run the server.
Run the following command in order to start up the client.
$ sudo npm install -g angular-cli
Run the following command in the Holocron/src/client/ and Holocron/src/server/ folders.
$ npm install
You start up the server by running chatserver.js, located in the Holocron/src/server/ directory, with node. From the root directory of the project run the following command in your CLI.
$ node src/server/chatserver.js
Now the server is up and running on port 8080 by default.
You start up the client by using angular-cli From the client folder of the project (Holocron/src/client/) run the following command in your CLI.
$ ng serve
Wait a bit while it starts up and afterwards the client is accessible via localhost:4200
We use the Angular-CLI as our build system which has webpack at it's core.
We also use Gulp to enforce our TypeScript coding rules.
- Angular 2 - Framework
- Angular 2 Material - Styling
- Angular 2 Flex-Layout - Layout
- Toastr (ng2-toastr) - Toast notifications
- Socket.IO - WebSocket wrapper
- ExpressJS - Server
- NPM - Dependency Management
- Gulp - Enforce coding rules
This project is licensed under the MIT License - see the LICENSE.md file for details