NexChat is a chatting application that provides a real-time communication using socket.io and it stores user's details and messages in an encrypted format using MongoDB database. It provides a features like user can set an avatar for their profile and emoji support along with messages enhancing user's experience
- Client: React JS
- Server: Node JS, Express JS, Socket.io
- Database: MongoDB
- Clone the repository:
git clone https://github.com/Silverfox1356/Chat-app.git
cd chat-app- Install the necessary dependencies:
cd client
npm install
cd ../server
npm install-
Configure environment variables. Copy
.env.exampleto.envin both theclientandserverfolders and update the URLs to match your deployment or testing environment.If you expose the server using ngrok, add the special
ngrok-skip-browser-warningheader for all HTTP requests and include?ngrok-skip-browser-warning=truewhen establishing Socket.IO connections. -
Run the App
Navigate to server directory and start the server
cd server
npm startNavigate to client directory and start the application
cd ../client
npm startThis project is licensed under the MIT License. See the LICENSE file for details.



