Skip to content

MayankShrivastava17/khat

Repository files navigation

Khat : A safe mailing and messaging website

The website Khat is designed for the purpose of having a secure message channel between 2 individuals. It is designed such that a person can easily send a mail from in side the website to the other individual with a secure code that gives them access to a secure chat room where none of their conversations are stored. And for sending the mail with secure code also the user doesn’t have to go out as the feature of sending mail is integrated with the website.


Website link

Github Repo Link

Technologies used:

  • Front-End : HTML, CSS ,Bulma
  • Back-End : JavaScipt, NodeJS(Express, Passport, Googleapis, Nodemailer, Socket.io)
  • APIs : Socket.io, Google Apis, Node Mailer, Socket.io
  • Deployment : Heoku

    Salient Features

  • In the home page we are having a carousel which is rendered and is having its functionalities due to javascript.
  • The feedback form is connected with firebase which is live and storing data.
  • The whole website is responsive and adjusts itself according to every device size.
  • The password that is stored in the database is encrypted using passport package in node.
  • For sending emails from the app we have created a project on google developer’s console and used there api to establish SMT protocols to send mails.
  • The api is activated and the client Id and access tokens are procured from console and used to create a transport that makes the data package to send mail.
  • Along with this a javascript function is invoked to generate a room code to create a communication channel in messaging platform.
  • The chatting feature is live and doesn’t record any of the communication. It is achieved by the help of the api Socket.io.
  • The website is fully functional as of now and is deployed on Heroku.

    How to run on local machine

    Step 1. Clone the repo

    Step 2. Type in cmd / terminal :- npm install

    Step 3. Type in cmd / terminal :- node server.js

    Step 4. Open http://127.0.0.1:3000/


    Designed and developed by Anshul & Mayank