ConversoChat is a chat application that allows users to chat with each other in real time. You can find the design document here.
- Express.js is used to create the server and handle the routes.
- Websocket is used to handle the real time communication between the server and the client.
- MySQL is used to store the messages and the users.
- ORM Sequelize is used to handle the database.
- bcrypt is used to hash the passwords.
- HTML & CSS is used to create the UI.
- Javascript is used to handle the real time communication between the client and the server.
- Install docker and docker-compose
- Clone the repository:
$ git clone https://github.com/YanPetrov7/ConversoChat.git- Go to the project directory:
$ cd ConversoChat- Create an environmental variables:
$ export DB_PASSWORD="your_password"
$ export TEST_DB_PASSWORD="your_password"- Start the containers:
$ docker-compose up --build- Open the application in your browser: http://localhost:3000/
- Start the containers:
$ docker-compose up --build- Run the tests:
$ docker exec -it conversochat-app-1 npm test