/nestjs_socket.io_chat

Primary LanguageTypeScriptOtherNOASSERTION

nestjs-socketio-chat

Welcome to Nest.js Socket.io Chat! A robust, open-source chat application built for real-time communication. Whether it’s for group discussions or private conversations, this app facilitates interactive chat 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

Jump right into nestjs-socketio-chat with these steps:

  1. Clone the repository: git clone https://github.com/vontanne/nestjs-socketio-chat.git
  2. Install Dependencies: Inside the project directory, run npm install.
  3. Set up the Database: Use npm run migration:run to set up your database.
  4. Launch the App:
    • For development: npm run start:dev
    • For production: npm run start:prod (Migrations run automatically)

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!