Skip to content

Chat created with Node-Express, JWT, WebSockets, TypeScript, Bootstrap, Pug and Vue

Notifications You must be signed in to change notification settings

GiancarloAparicio/Real-Time-Node

Repository files navigation

Chat with Express

Express  TypeScript  Node  Mysql 

JavaScript  Vue 

Bootstrap  CSS  Pug 

Docker  Docker-compose 

Requirements

  • Docker 19.0.0+
  • Docker-Compose 1.2.0+

Install

Clone the repository:

git clone git@github.com:GiancarloAparicio/Real-Time-Node.git

Create and lift the containers

docker-compose up -d

Install dependencies

docker exec -it chat-node sh

npm install && npm run serve 

By default the page will be displayed in:

http://localhost:8000/chat 

Preview Gif

Gif

Preview Image

Register

Login

Chat

MySql

To activate MySql change the .ENV variables, the ORM TyOrm was used

By default Docker is already prepared to support MySql in the same internal network

Warning: It is not used in production, it is only a demo with basic functionalities.

Credits