LoopTube2004 / looptube

A Google Extension that can customize the youtube loop
0 stars 0 forks source link

3.1) Design database schema for input form, for video with customization #36

Open phuc-nguyen-tran opened 7 months ago

PhuocOng commented 7 months ago
phuc-nguyen-tran commented 7 months ago

**Database: DynamoDB

NoSQL, Fast, Scalable

TABLE**

VideoPart

Partition Key: ID Sort Key: UserID (can be email if use auth library, or userID if do auth on our own) YouTube link: String (200) Cut detail: data type: map { start_sec: int, end_sec: int, customization: int, default = 0, min = 0, required }

User (if do auth on our own - alternative library: firebase, clerk (rec))

Partition Key: UserID, int, pk, required, auto increment Sort Key: Email: string (100), unique, non-null (no email type in dynamodb - see this: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html) Password: string (100) (hashed the password)

@PhuocOng review nhe!

phuc-nguyen-tran commented 6 months ago

New Feature

1. Playlist