An open API service indexing awesome lists of open source software.

https://github.com/mathur-dev1142/chatapp

Chat Application Using Monogdb , node.js , socket.io , react.js
https://github.com/mathur-dev1142/chatapp

express-js mongodb nodejs reactjs socket-io

Last synced: 3 months ago
JSON representation

Chat Application Using Monogdb , node.js , socket.io , react.js

Awesome Lists containing this project

README

          

# Snappy - Chat Application

Snappy is chat application build with the power of MERN Stack. You can find the tutorial [here](https://www.youtube.com/watch?v=otaQKODEUFs)

![login page](./frontend/images/snappy_login.png)

![home page](./frontend/images/snappy.png)

## Installation Guide

### Requirements

- [Nodejs](https://nodejs.org/en/download)
- [Mongodb](https://www.mongodb.com/docs/manual/administration/install-community/)

Both should be installed and make sure mongodb is running.

### Installation

#### First Method

```shell
git clone https://github.com/koolkishan/chat-app-react-nodejs
cd chat-app-react-nodejs
```

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

```shell
cd public
mv .env.example .env
cd ..
cd server
mv .env.example .env
cd ..
```

Now install the dependencies

```shell
cd server
yarn
cd ..
cd public
yarn
```

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

For Frontend.

```shell
cd public
yarn start
```

For Backend.

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

```shell
cd server
yarn start
```

Done! Now open localhost:3000 in your browser.