This repository contains server & client side code forked from [luixaviles] (https://github.com/luixaviles/socket-io-typescript-chat) and further developed to contain an emoji-picker, developed to be PWA and draft features added
Try live demo: https://alcumus-chat.firebaseapp.com/
This needs a local server to be running
First, ensure you have the following installed:
- NodeJS - Download and Install latest version of Node: NodeJS
- Git - Download and Install Git
- Angular CLI - Install Command Line Interface for Angular https://cli.angular.io/
After that, use Git bash
to run all commands if you are on Windows platform.
In order to start the project use:
$ git clone https://github.com/narcwis/socket-io-typescript-chat.git
$ cd socket-io-typescript-chat
To run server locally, just install dependencies and run gulp
task to create a build:
$ cd server
$ npm install -g gulp-cli
$ npm install
$ gulp build
$ npm start
The socket.io
server will be running on port 8080
Open other command line window and run following commands:
$ cd client
$ npm install
$ ng serve
Now open your browser in following URL: http://localhost:4200
Contributions are greatly appreciated.
MIT