Public | Automated Build

Last pushed: 10 months ago
Short Description
A chat server based on javascript and mongo.
Full Description


Webchat NodeJs Server

This NodeJS Backend and React Frontend (Single Page App).
Webapp that enables multiple Chatrooms and the posibillity to link Chatbots.

Development Setup

change to app root folder and run:

  • npm install
  • npm start

Folder Structure

Client Tree

Server Tree

Data Models

Client Uml

Server Uml

More Information

Code Conventions

  • Classes in Camelcase starting big => ClassName
  • Function in Camelcase starting small => funcName
  • Variables in Camelcase starting small => varName
  • Attributes are like variables => attName
  • Variables are on top of a function or class
  • Variable order:

    1. variable as const
    2. variable as let


Build Release

npm build

docker build -t usecase/chat-server .

Run the Container

Run Container

docker run -p 3000:3000 usecase/chat-server

Access the Container (check your ip -> docker-machine ip) Browse to ipaddr:3000

Docker Pull Command
Source Repository