GithubHelp home page GithubHelp logo

vontanne / nestjs-socketio-chat Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 1.0 152 KB

Real-time chat application built with NestJS and Socket.io, featuring secure authentication, chat rooms, and direct messaging

License: Other

JavaScript 0.85% TypeScript 99.15%
chat chat-app chat-application chat-backend nest nest-js nestjs node-chat node-chat-app nodechat

nestjs-socketio-chat's Introduction

nestjs-socketio-chat

Welcome to Nest.js Socket.io Chat! This project is a robust, open-source backend for building real-time chat applications. It's designed to handle everything from group discussions to private conversations on the server side, ensuring efficient and interactive communication experiences.

Features

  • Authentication & Authorization: Secure sign-in process using JWT.
  • Chat Rooms: Create and manage group chats for community engagement.
  • Direct Messages: Personal chat functionality for private conversations.
  • Real-Time Communication: Instant message delivery powered by Socket.io.

Technologies

nestjs-socketio-chat is crafted using powerful technologies:

  • NestJS: A framework for building efficient server-side apps.
  • Socket.io: Makes real-time communication possible.
  • TypeORM: Helps us manage the database in an organized way.
  • SQLite: Stores all the data without needing a complex setup.

Getting Started

Follow these steps to set up nestjs-socketio-chat on your system:

  1. Clone the repository: git clone https://github.com/vontanne/nestjs-socketio-chat.git
  2. Install Dependencies: Navigate to the project directory and run npm install.
  3. Create Environment File: Copy the .env.example file to .env and update the environment variables accordingly: cp .env.example .env
  4. Set up the Database: Initialize your database with npm run migration:run.
  5. Launch the App:
    • For development: npm run start:dev
    • For production: npm run start:prod (Note: Migrations run automatically in production mode.)

Testing

Test the app's endpoints and chat features using tools like Postman, which supports WebSocket and Socket.io testing.

Community & Contributions

Your contributions make our project thrive. Feel free to:

For more details on contributing, please review our Contributing Guidelines.

License

nestjs-socketio-chat is open-sourced under the GNU General Public License.


Enjoy chatting with nestjs-socketio-chat!

nestjs-socketio-chat's People

Contributors

vontanne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

armjscom

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.