https://github.com/than-dev/attendance-chat
An Attendance Chat using socket.io + messages API, in it project we have attendants and customers, that interact by a web interface.
https://github.com/than-dev/attendance-chat
api fullstack nodejs socket-io typescript web-socket
Last synced: 6 months ago
JSON representation
An Attendance Chat using socket.io + messages API, in it project we have attendants and customers, that interact by a web interface.
- Host: GitHub
- URL: https://github.com/than-dev/attendance-chat
- Owner: than-dev
- Created: 2021-06-03T23:56:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-08T03:20:06.000Z (over 4 years ago)
- Last Synced: 2025-03-30T13:14:46.151Z (11 months ago)
- Topics: api, fullstack, nodejs, socket-io, typescript, web-socket
- Language: TypeScript
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Attendance Chat
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
