Skip to content

obaraelijah/video_membership

Repository files navigation

video_membership

Creating a Video Membership app using FastAPI & NoSQL

Features

  • User registration and login
  • User subscription management
  • Video management (uploading, deleting, updating)
  • Video access control
  • Saving Secure, Hashed, Passwords
  • Video Analytics & Resumable Videos
  • Search Engine

Dependencies

  • fastapi
  • uvicorn
  • cassandra-driver
  • python-dotenv
  • email-validator
  • argon2-cffi
  • pytest
  • jinja2
  • python-multipart
  • python-jose[cryptography]
  • algoliasearch

Installation

  1. Clone the repository
 $ https://github.com/obaraelijah/video_membership.git
 $ cd video_membership
  1. Install the dependencies:
 $ pip install -r requirements.txt or pip3 install -r requirements.txt
  1. Set up the environment variables: Create a .env file in the project's root directory with the following variables:
CASSANDRA_HOST=your_cassandra_host
CASSANDRA_KEYSPACE=your_keyspace_name
SECRET_KEY=your_secret_key
ALGOLIA_APP_ID=your_algolia_app_id
ALGOLIA_API_KEY=your_algolia_api_key
  1. Start the app:
$ uvicorn main:app --reload

Conclusion

This Video Membership App provides video management and access control features for users. It uses FastAPI and NoSQL to create a fast and scalable app that can handle large amounts of video data.