Skip to content

Adarsh2345/TalkSpace---MERN-Stack-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

TalkSpace - MERN Stack Chatting Application 💬

MERN Stack Socket.io

TalkSpace is a real-time chat application built with the MERN stack (MongoDB, Express.js, React, Node.js) and Socket.io for live messaging.


Features ✨

  • Real-time messaging with Socket.io
  • User authentication (JWT)
  • Responsive React UI
  • Online status indicators
  • Message history (MongoDB)

Prerequisites 📋

  • Node.js (v16+) - Download
  • MongoDB (Atlas or local) - Guide
  • React (v18+) - Included with create-react-app
  • Git - Download

🚀 Installation

1. Clone the repository

git clone https://github.com/Adarsh2345/TalkSpace---MERN-Stack-application.git
cd TalkSpace---MERN-Stack-application

2. Install dependencies

Frontend (React)

cd client
npm install

Backend (Node.js/Express)

cd ../server
npm install

3. Configure environment

Create .env file in /server:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
PORT=5000

4. Run the application

In separate terminals:

Backend:

cd server
npm start

Frontend:

cd client
npm start

Access at: http://localhost:5000

About

This is a basic MERN-Stack chatting application that let's users communicate in real time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages