Skip to content

shishir91/Chat_App-MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snappy - Chat Application

Snappy is chat application build with the power of MERN Stack.

login page

home page

Installation Guide

Requirements

Both should be installed and make sure mongodb is running.

Installation

git clone https://github.com/shishir91/Chat_App-MERN.git
cd chat-app-react-nodejs

Now rename env files from .env.example to .env

cd client
mv .env.example .env
cd ..
cd server
mv .env.example .env
cd ..

Replace MONGO_URL with your mongodb url.

Now install the dependencies

cd server
yarn
cd ..
cd client
yarn

We are almost done, Now just start the development server.

For Frontend.

cd client
yarn start

For Backend.

Open another terminal in folder, Also make sure mongodb is running in background.

cd server
yarn start

Done! Now open localhost:3000 in your browser.