YegorMedvedev / owlschat

Simple webapp chat which based on Angular 2 and Node JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Owlschat webapp with Node JS backend

Simple webapp chat which based on Angular 2 and Node JS

Installation

You need Node (ver > 6.0.0), Mongo DB (ver > 3.2) and Git installed globally. For hosting deployment, I recommend to use PM2 (https://github.com/Unitech/pm2)

Start a server

Before start server app you will need to start you Mongo DB globally, please, open you terminal and enter this command:

$ mongod

After Mongo DB start, you can download code from repository and start a server app

$ git clone https://github.com/Carl-fridrix-zendolf-IV/owlschat
$ cd owlschat/server
$ npm install
$ ENVIRONMENT=DEV npm start

When code started, you can open your browser and check, that everything ok. Open page http://localhost:3000 - and you will get main API response

For testing you will need to enter this command in your terminal

$ npm test

Start webapp

If you already clone code from repository you will need to enter this command in your terminal

$ cd owlschat/client
$ npm install
$ npm start

For build release version you will need to enter this command:

$ npm build

License

MIT

About

Simple webapp chat which based on Angular 2 and Node JS

License:MIT License


Languages

Language:TypeScript 45.5%Language:JavaScript 36.5%Language:HTML 11.1%Language:CSS 6.9%