DEV Community

Cover image for FastStream - A Video Streaming Server in FastAPI(Python) and SQLModel(SQLAlchemy)
Harsh Mangalam
Harsh Mangalam

Posted on

6

FastStream - A Video Streaming Server in FastAPI(Python) and SQLModel(SQLAlchemy)

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

Today i am going to open source a simple authentication based video streaming server.

Features

Authentication

  • Signup
  • Login
  • Get current authenticated user

Videos

  • Create new video
  • Get paginated videos
  • Get video by video id
  • Delete video by video id
  • Update video
  • Stream video
  • Add and Remove like on video

Users

  • Get paginated users
  • Get user bu user id
  • update user data
  • delete user ( delete account )

FastStream store video file inside static directory and stream video chunk by chunk.

GitHub logo harshmangalam / faststream-server

Video upload and stream api server created using FastAPI(Python) and SQLModel(SQLAlchemy) ORM

FastStream Server

Technology

  • Python
  • Fastapi
  • SQLModel

Features

Auth

  • login
  • signup
  • get current user

Users

  • get all paginated users
  • get user by id
  • update user
  • delete user

Videos

  • get all paginated videos

  • get video by id

  • create video

  • update video

  • delete video

  • views on Video

  • add remove likes on video




Auth Service

auth

Videos Service

videos

Users Service

users

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs