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.
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
- Git
1º Clone the project and install the dependencies (with YARN):
yarn
2º After installing all dependencies, start the server:
yarn dev
3º In the browser, refer to localhost/3333/pages/client for the client view and localhost/pages/admin for the administrator view.
1º When the customer clicks the support button. The following will appear:
2º When inserting the message and your e-mail (identification), the system will initiate a connection via socket and wait for an administrator to respond.
3º On the administrator page, a list of all users waiting to be serviced will be displayed.
4º Clicking on a button will open a chat and the button will disappear.
- Suggestions:
- In chat, function to delete message sending and/or edit it.
- Repository: https://github.com/Jackie098/nlw05-node
- In case of doubts or suggestions, feel free to contact and/or request pull requests.
- Rocketseat: (https://github.com/Rocketseat)