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

harshmangalam

Harsh Mangalam

Posted on November 1, 2021

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

💖 💪 🙅 🚩
harshmangalam
Harsh Mangalam

Posted on November 1, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related