I built a chat application using Socket.IO for real-time, bi-directional communication between web clients and servers. This application allows users to communicate with other users in web chat rooms. The user can send and receive messages. All messages will be saved to a database.
For Backend - npm i
For Frontend - cd frontend npm i
Make Sure to Create a config.env file in backend/config directory and add appropriate variables in order to use the app.
Essential Variables
CORS_URL=
DEV_Local_DB_URI = DEV_Cloud_DB_URI =
JWT_SECRET= JWT_EXPIRE= COOKIE_EXPIRE=
SMPT_SERVICE = SMPT_MAIL= SMPT_PASSWORD= SMPT_HOST= SMPT_PORT=
LinkedIn Click Here