It is a fullstack application developed in Rocketseat - NLW #5 with Typescript, nodeJs, Sqlite and Typeorm!
Just clone this repo and run:
npm install
npm run typeorm migration:run
npm run dev
- 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;
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;
- Orm - Typeorm;
- Migrations;
- API - Creation and Consume;
- Web Socket Protocol (real time communication);
- 1:1 associations;
- 1:n associations;
- SQLite