Skip to content

An online chat. Node + Typescript and the use of web socket.

Notifications You must be signed in to change notification settings

Jackie098/nlw05-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customer attendance service

Back-end system where an online service was created. With bidirectional connection (WebSocket) and HTTP protocol to save and edit client information. System created during the Rocketseat event known as NLW or New Level Week.

Technologes

Technologies used in the project.

  • Node version 14.16.1
  • Typescript version 4.2.4
  • Socket.io version 4.0.1
  • Ejs version 3.1.6
  • SqLite3 version 5.0.2

Used Services

  • Git

Starting

Clone the project and install the dependencies (with YARN):

yarn

After installing all dependencies, start the server:

yarn dev

In the browser, refer to localhost/3333/pages/client for the client view and localhost/pages/admin for the administrator view.

How to use

When the customer clicks the support button. The following will appear:
Template inicial - cliente

When inserting the message and your e-mail (identification), the system will initiate a connection via socket and wait for an administrator to respond.
Esperando atendimento

On the administrator page, a list of all users waiting to be serviced will be displayed.
Lista de clientes em espera

Clicking on a button will open a chat and the button will disappear.
Chat com cliente

Updates

  • Suggestions:
    • In chat, function to delete message sending and/or edit it.

Links

Creators

About

An online chat. Node + Typescript and the use of web socket.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published