Giter Club home page Giter Club logo

mahmodghnaj / chatxo-backend Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 466 KB

This is a chatXo application built with Nest.js that allows two users to communicate with each other. The application supports authentication using social media accounts and provides functionality to add friends.

Home Page: https://chat-xo.vercel.app

JavaScript 1.12% TypeScript 98.88%
authentication chat chat-app chat-applications chat-website javascript mongodb nest nestjs nextjs nodejs socket-io typescript

chatxo-backend's Introduction

ChatXo

This is a chatXo application built with Nest.js that allows two users to communicate with each other. The application supports authentication using social media accounts and provides functionality to add friends.

Alt Text

Demo

Check out the live demo of the application.

Frontend Repository

You can find the frontend source code in the ChatXo-frontend repository.

Features

  • User Registration and Authentication: Users can register and log in to the application using their social media accounts.
  • Real-time Chat: Users can engage in real-time chat with each other, sending and receiving messages instantly.
  • Friend Management: Users can add friends to their contact list and initiate chats with them.
  • Last Seen Date: The application displays the last seen date of each user, indicating when they were last active.
  • User Status: Users' online/offline status is shown, indicating whether they are currently active or not.
  • Message Receipt: The application provides flags to indicate whether a message has been received or not.
  • Social Media Authentication: Users can authenticate using popular social media platforms such as Facebook, Google, or Twitter.
  • Secure Communication: The application ensures secure communication between users by using encryption and following best practices for data privacy and security.

Technologies Used

  • Nest.js: A powerful Node.js framework for building scalable and efficient server-side applications.
  • Socket.IO: A library that enables real-time, bidirectional, and event-based communication between the browser and the server.
  • Passport: A flexible authentication middleware for Node.js that supports social media authentication strategies.
  • Mongoose: An elegant MongoDB object modeling library for Node.js.

Environment Variables

The application uses environment variables to configure various settings. Before running the application

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

chatxo-backend's People

Contributors

mahmodghnaj avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mxslmafao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.