Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
APP_NAME=Chat Application
PORT=5000
MONGO_CONNECTION_STRING=mongodb://localhost/chat
COOKIE_SECRET=learnwithsumitsecret
67 changes: 67 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[![Youtube][youtube-shield]][youtube-url]
[![Facebook][facebook-shield]][facebook-url]
[![Instagram][instagram-shield]][instagram-url]
[![LinkedIn][linkedin-shield]][linkedin-url]

<br />
<p align="center">
<h3 align="center"><a href="https://github.com/learnwithsumit/chat-application/tree/lesson-2">Lesson - 2 - Node.js Chat Application in Express.js, MongoDB & EJS template engine</a></h3>

A complete guide on SASS described in Bangla. Please check the video tutorial here -

[![View on Youtube](http://img.youtube.com/vi/ujLUe1Hgd_Q/0.jpg)](https://youtu.be/ujLUe1Hgd_Q)

<!-- TABLE OF CONTENTS -->

## Table of Contents

- [How to run](#how-to-run)
- [Contact](#contact)

<!-- HOW TO RUN -->

## How to run

Please follow the below instructions to run this project in your machine:

1. Clone this repository
```sh
git clone https://github.com/learnwithsumit/chat-application.git
```
2. Watch the youtube tutorial on this topic - https://youtu.be/ujLUe1Hgd_Q.
3. Check out to lesson-2 branch with the below command
```sh
git checkout lesson-2
```
4. Run npm install
5. Then rename the .env.example file to ".env" and change values as per your need
6. Finally run the application in development using below command -
```sh
npm start
```
or
You can run it in production mode by -
```sh
npm run prod
```

<!-- CONTACT -->

## Contact

Sumit Saha - [sumit@learnwithsumit.com](mailto:sumit@learnwithsumit.com)

Project Link: [https://github.com/learnwithsumit/chat-application](https://github.com/learnwithsumit/chat-application)

Youtube Channel: [https://youtube.com/LearnwithSumit](https://youtube.com/LearnwithSumit)

<!-- MARKDOWN LINKS & IMAGES -->

[youtube-shield]: https://img.shields.io/badge/-Youtube-black.svg?style=flat-square&logo=youtube&color=555&logoColor=white
[youtube-url]: https://youtube.com/LearnwithSumit
[facebook-shield]: https://img.shields.io/badge/-Facebook-black.svg?style=flat-square&logo=facebook&color=555&logoColor=white
[facebook-url]: https://facebook.com/letslearnwithsumit
[instagram-shield]: https://img.shields.io/badge/-Instagram-black.svg?style=flat-square&logo=instagram&color=555&logoColor=white
[instagram-url]: https://instagram.com/learnwithsumit
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/company/learnwithsumit