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
3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[![Youtube][youtube-shield]][youtube-url]
[![Facebook][facebook-shield]][facebook-url]
[![Instagram][instagram-shield]][instagram-url]
[![LinkedIn][linkedin-shield]][linkedin-url]

<p align="center">
<h3 align="center"><a href="https://github.com/learnwithsumit/chat-application">Full Stack Chat Applicaton project with Node Express.js MongoDB & EJS Template Engine - Tutorial Series</a></h3>

## Youtube Tutorial link

You can get the complete series of tutorials here - https://lwsbd.link/node-chat

## HTML Template

This main branch contains the HTML template for the project. You will get lesson by lesson source code in corresponding branches of this repository.

<!-- CONTACT -->

## Contact

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

Repository 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
55 changes: 0 additions & 55 deletions app.js

This file was deleted.

8 changes: 0 additions & 8 deletions controller/inboxController.js

This file was deleted.

8 changes: 0 additions & 8 deletions controller/loginController.js

This file was deleted.

8 changes: 0 additions & 8 deletions controller/usersController.js

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
21 changes: 20 additions & 1 deletion views/inbox.ejs → inbox.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
<%- include('./partials/header.ejs'); %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Sumit Saha" />
<meta name="owner" content="learnwithsumit.com" />
<title>Inbox</title>
<link rel="shortcut icon" href="./images/favicon.png" />
<link rel="stylesheet" href="./stylesheets/toastify.css" />
<link rel="stylesheet" href="./stylesheets/style.css" />
<script src="./js/toastify.js"></script>
</head>
<body>
<div class="menu">
<div class="menu-item"><a href="/inbox">Inbox</a></div>
<div class="menu-item"><a href="/users">Users</a></div>
<div class="menu-item"><a href="/">Login</a></div>
</div>
<div id="chat-container">
<div id="search-container">
<input type="text" placeholder="Search" />
Expand Down
25 changes: 24 additions & 1 deletion views/partials/header.ejs → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Sumit Saha" />
<meta name="owner" content="learnwithsumit.com" />
<title><%= title %></title>
<title>Login</title>
<link rel="shortcut icon" href="./images/favicon.png" />
<link rel="stylesheet" href="./stylesheets/toastify.css" />
<link rel="stylesheet" href="./stylesheets/style.css" />
Expand All @@ -18,3 +18,26 @@
<div class="menu-item"><a href="/users">Users</a></div>
<div class="menu-item"><a href="/">Login</a></div>
</div>

<div id="login-container">
<div id="left-column"></div>
<div id="branding">
<img src="./images/logo.png" />
<h1>Login - Chat Application</h1>
</div>
<div id="login-form">
<form method="post" action="/">
<input
type="text"
name="username"
placeholder="enter mobile or email"
value=""
/>
<p class="error show">Error message here</p>
<input type="password" name="password" placeholder="enter password" />
<input type="submit" value="Login" />
</form>
</div>
</div>
</body>
</html>
File renamed without changes.
9 changes: 0 additions & 9 deletions middlewares/common/decorateHtmlResponse.js

This file was deleted.

29 changes: 0 additions & 29 deletions middlewares/common/errorHandler.js

This file was deleted.

Loading