Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yousufislam191/chatfinity
- Owner: yousufislam191
- Created: 2023-05-27T21:21:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-20T20:05:52.000Z (over 1 year ago)
- Last Synced: 2024-12-03T04:32:41.862Z (about 2 months ago)
- Topics: ejs, expressjs, mongodb, nodejs
- Language: JavaScript
- Homepage: https://chatfinity.onrender.com/
- Size: 4.12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 messagesHow 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/)