Skip to content

wheresdiasd/websockets-audio-streaming-nestjs

Repository files navigation

Streaming Server

NestJS Logo     WebSockets Logo     Firebase Firestore Logo     Google Cloud Storage Logo

A high-performance streaming server built with NestJS, leveraging WebSockets for real-time communication, Firebase Firestore for data storage and authentication, and Google Cloud Storage for media hosting.

Table of Contents

Introduction

This project is a scalable streaming server designed to handle real-time data and media streaming efficiently. By integrating NestJS with WebSockets, Firebase Firestore, and Google Cloud Storage, it provides a robust platform for streaming applications. It also features ticket-based authentication using Firebase Firestore as the database to secure user access.

Features

  • Real-time Communication: Utilizes WebSockets for instant data exchange.
  • Scalable Architecture: Built with NestJS to ensure scalability and maintainability.
  • Cloud Storage: Stores media files securely using Google Cloud Storage.
  • Realtime Database: Manages data with Firebase Firestore for quick access and synchronization.
  • Secure Authentication: Implements ticket-based authentication using Firebase Firestore as the database.

Architecture

Architecture Diagram

Include an architecture diagram explaining how the components interact.

Technologies Used

NestJS

NestJS Logo

NestJS is a progressive Node.js framework for building efficient and scalable server-side applications.

WebSockets

WebSockets Logo

WebSockets enable two-way interactive communication between the user's browser and a server.

Firebase Firestore

Firebase Firestore Logo

Firebase Firestore is a flexible, scalable NoSQL cloud database for storing and syncing data in real time.

Google Cloud Storage

Google Cloud Storage Logo

Google Cloud Storage offers worldwide storage and retrieval of any amount of data at any time.

Ticket-Based Authentication

The server uses ticket-based authentication where each user is issued a unique ticket upon successful login. This ticket is stored and validated against Firebase Firestore on each request to ensure secure access control.

About

Nestjs websockets streaming with authentication and authorization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published