Skip to content

gabrielpaor/MernChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ChatApp

This is a real-time chat application developed using MERN stack. It allows user to register, login, send a message and file. It is designed using tailwind library.

Installation

Before running the application, make sure you have Node.js and MongoDB on your local computer, you can also use MongoDB atlas for the mongo url.

  1. Clone the repository:

    git clone https://github.com/gabrielpaor/MernChat.git

  2. Install dependencies:

    cd server
    npm install
    cd client
    npm install

  3. Start the server:

    cd client
    npm start

    The server should be running on http://localhost:4000.

  4. Start the server:

    cd server
    npm run dev

    The server should be running on http://localhost:5173.

I included the .env file in the repository for the convenience purposes.

Usage

Register or Login

To register or login, you can click the register button when the page render login and after submitting your registration, you will automatically logged in.

Send a message

Once you're logged in, you should select a contact first before you can send a message. After selecting a contact person, you can then send a message or file.

Logout

To logout, click the logout button beside your username in the navbar section.

About

Chat application developed using MERN stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors