A web application which enables user to enter chat rooms without requiring personal information.
root/
│
├── client/
│ ├── Dockerfile
| |-- .dockerignore
│ ├── package.json
│ ├── public/
│ └── src/
| |-- components/
| |-- assets/
│ |-- helpers/
| |-- pages/
| |-- socket/
| |-- utils/
| |-- App.jsx
| |-- *
|
├── server/
│ ├── Dockerfile
| |-- .dockerignore
│ ├── package.json
| |-- socket/
| |-- chat/
| |-- socket.js
| |-- server.js
| |-- *
|
|--Readme.md
- Send real-time message using websockets
- Chat wall
- Doesn't require user credentials and easy to try out without requiring registration or login process.
- Emoji support
- Encrypted messages for secured communication between users.
- Enter username
- Home
To run this project, you will need to add the following environment variables to your .env file to the respective directories
- Client
VITE_API_ENDPOINT - Endpoint for the server
VITE_EN_SECRET - Secret key for encryption
- Server
MONGODB_URI - URI for mongodb database (local) or Atlas
EXPRESS_PORT - PORT for the express server
CLIENT_ENDPOINT - Endpoint of the client
Getting started with project normally
- Fork the repository
- Clone your fork in your local machine
git clone <url>.git - Run
npm installinside the folders containing package.json file - To run the client
npm run dev - To run the server
npm run devornodemon
Getting started using docker
- For
clientcd into client containingdocker-compose.yamlfile. - Run
docker compose --env-file ./client/.env upto spin up the container where.envcontains all the enviromental variables .envfor client containsVITE_API_ENDPOINT- Same steps to be followed for
serverwhere.envcontainsMONGODB_URI,JWT_SECRET
No, the username with which you will be entering the web app is not saved in our database. You can use any name of your choice.
We are following an industry standard encryption mechanism but we will advise you to not share any personal or confidential information.
Yes. By default users are able to interact in "General". They can join all the rooms if they like and can also exit the rooms.
If you would like to contribute to the project, feel free to create an issue and tag me. For feedbacks reach out to me at iamsuman898@gmail.com

