Skip to content

dgtalForest/mern__chatapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snappy - Chat Application

login page

home page

Installation Guide

Requirements

Both should be installed and make sure mongodb is running.

Installation

First Method

git clone https://github.com/dgtalforest/mern__chatapp
cd mern__chatapp

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

cd public
mv .env.example .env
cd ..
cd server
mv .env.example .env
cd ..

Now install the dependencies

cd server
yarn
cd ..
cd public
yarn

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

For Frontend.

cd public
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.

Second Method

  • This method requires docker and docker-compose to be installed in your system.
  • Make sure you are in the root of your project and run the following command.
docker compose build --no-cache

after the build is complete run the containers using the following command

docker compose up

now open localhost:3000 in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published