Skip to content

An Attendance Chat using socket.io + messages API, in it project we have attendants and customers, that interact by a web interface.

Notifications You must be signed in to change notification settings

than-dev/attendance-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project logo

Attendance Chat

Description

It is a fullstack application developed in Rocketseat - NLW #5 with Typescript, nodeJs, Sqlite and Typeorm!

Usage and Installation

Just clone this repo and run:

npm install
npm run typeorm migration:run
npm run dev

Features and Requirements

API + Socket

  • All connections are saved at database;
  • You can get a connection by User ID;
  • You can find all connections without an admin;
  • You can find a connection by socket ID;
  • You can update admin ID;
  • All messages are saved at database;
  • You can list messages by User;
  • You can create settings;
  • You can update settings;
  • You can find settings by username;
  • If an email is not registered, it is auto created;
  • You can find a user by email;

Frontend

As customer:

  • You can start a conversation with an attendance;
  • You can see it messages;
  • You can go out conversation;

As attendant:

  • You can see all conversations without an attendant;
  • You can start a attendance;
  • You can close it;

Covered Concepts

  • Orm - Typeorm;
  • Migrations;
  • API - Creation and Consume;
  • Web Socket Protocol (real time communication);
  • 1:1 associations;
  • 1:n associations;
  • SQLite

About

An Attendance Chat using socket.io + messages API, in it project we have attendants and customers, that interact by a web interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published