Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yousufislam191/chatfinity

A web-based server side rendering Chat Application System
https://github.com/yousufislam191/chatfinity

ejs expressjs mongodb nodejs

Last synced: about 7 hours ago
JSON representation

A web-based server side rendering Chat Application System

Awesome Lists containing this project

README

        

About this repository



Chatfinity is a server side rendering Chat Application System.


### 🌐 Visit Website :

### https://chatfinity.onrender.com/

How to use this

- Visit this website [Chatfinity](https://chatfinity.onrender.com)
- Create an account
- Login to chatfinity with your email and password
- After login you will be able to send messages

How to run this repository on your local server

**Before running this repository in your local server or computer you must have install :**

- [MongoDB](https://gist.github.com/nrollr/9f523ae17ecdbb50311980503409aeb3)
- [Node.js](https://nodejs.org/en/download/)
- [npm](https://nodejs.org/en/download/package-manager/)

**If you have already install this then you can follow this step.**

1. **Clone the repository using your terminal**

```terminal
git clone https://github.com/yousufislam191/Chatfinity.git
```
2. **Open this folder using vs code**
3. **Add `.env` file in your root folder**
4. **Setup your `.env` file following this table:**

| env variable name | env variable value |
| --- | --- |
| APP_NAME | Chatfinity |
| APP_URL | Keep your localhost server url. `Exp: APP_URL = http://localhost:5000` |
| PORT | Keep any port number. `Exp: PORT = 5000` |
| DB_URL | Keep your mongodb database url. `Exp: mongodb://x.x.x.x:xxxxx/database_name` |
| COOKIE_SECRET | Set any text and number and special characters. `Exp: sijh*uwe36%4723g23` |
| JWT_TOKEN | Set any text and number and special characters. `Exp: i3hiuySTY&^87s6dt8s` |
| COOKIE_NAME | Set any name. `Exp: Chat_Web_App` |
| JWT_TOKEN_EXPIRY | Set a millisecond time for how long you will keep your cookie active. `Exp: 43200000 (that means your token will be expire after half day)` |

5. **Run this command in your vs code terminal for installing dependencies**
```terminal
npm install
```
6. **Run this command in your vs code terminal for running server**
```terminal
npm start
```
7. **You will be see a url in your vs code terminal. That means your website is running in this url. So open this url using your browser. Then enjoy it ✌️**

Author

[Yousuf](https://yousufislam191.github.io/resume/)