Skip to content

ChatRoom with Node, TypeScript, web-socket and React

Notifications You must be signed in to change notification settings

ViniciusmnLacerda/web-chat

Repository files navigation

Chat-Room Project

This project is a conversation application. It is possible to create new conversations with any registered user.

Technologies Used

Back-end

- Node.js
- Express
- TypeScript
- Web Socket
- MySQL
- Sequelize
- Cors

Front-end

- React.js
- CSS3
- Axios
- ContextAPI

Tools

- Docker
- Git

Overview

Users should be able to:

  • Login and register;
  • Create new chat with any registered user;
  • Send messages;
  • Edit your profile;

Local Usage

  1. Make sure you have Docker installed
  2. Clone this repo
  3. in the root folder run: $ docker-compose up -d --build
  4. run: $ docker exec -it ch-back sh
  5. run: $ npx sequelize-cli db:drop && npx sequelize-cli db:create && npx sequelize-cli db:migrate && npx sequelize-cli db:seed:all
  6. Access localhost:3000 to interact with the application.

Login

There are six previously registered users:

E-mail Password
julia@email.com Senha123
joao@email.com Senha123
lucas@email.com Senha123
vinicius@email.com Senha123
marianne@email.com Senha123
zita@email.com Senha123

Screenshots

1 2 3 4