Building a Stream Manager with TypeScript and Rust – Episode 170

Channel:
Subscribers:
542
Published on ● Video Link: https://www.youtube.com/watch?v=VZEy1f8LOaw



Duration: 0:00
1,519 views
24


In this video, I continue developing the "Glowing-Telegram" project by working on the Stream Manager component while integrating it with updated APIs and refining our data handling workflow. This session dives into aligning React-Admin components with real APIs, moving away from mocks, and enhancing functionality to manage streaming schedules efficiently.

Here's a breakdown of what we cover:

**Mock APIs vs. Real APIs**: Implementing conditional logic to enable or disable mock APIs based on environment variables, and ensuring the app is working with real API data for production readiness.

**Data Providers**: Migrating from the older data provider setup to a REST-based approach that maps resources efficiently using TypeScript-defined types.

**Schema Definitions and Validation**: Leveraging tools like JSON schemas, OpenAPI specs, and QuickType to generate TypeScript and Rust data structures for more robust and consistent type enforcement.

**Stream Manager Enhancements**:
Configuring DynamoDB records with optional attributes using TypeScript interfaces.
Improving field validation within the Stream Manager page to ensure correct API communication.
Adding dynamic fields like `stream title template` and `stream count` for better title customization and scheduling logic.
Introducing template parsing logic to manage stream title templates by replacing placeholders dynamically with TypeScript utility functions.

**User Interface Updates**: Enhancing the Stream Manager's UI to include new features like dynamic templates and streamlined data entry for scheduled streams.

**Troubleshooting and Debugging**: Addressing and solving issues like field mismatches, undefined attributes, and Twitch API limitations for non-partnered broadcasters.

**Future Tasks**: Discussing plans to implement a timers API, automatic stream counter increments, and navigation improvements for managing multiple series.

This session demonstrates the value of combining thoughtful type definition, API integration, and front-end design to build scalable and maintainable web applications.

If you're a TypeScript or Rust enthusiast working on full-stack development, you'll find plenty of useful tips, approaches, and debugging insights in this stream. Plus, come along for the casual conversations and relaxed coding as we continue shaping this project.

🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs




Other Videos By saebynVODs


2025-04-24Mastering FFmpeg Scripting: Troubleshooting Overlays & Audio Issues - Episode 180
2025-04-22FFmpeg Automation: Prototyping Video Editing with Python - Episode 179
2025-04-20Debugging Twitch API Integration for Glowing Telegram Project - Episode 178
2025-04-19Building OAuth Integration with Twitch: Access Token Management and API Updates - Episode 177
2025-04-17Improving Twitch Integration for Glowing-Telegram: Backend and Frontend Updates - Episode 176
2025-04-15Navigating CORS Errors and AWS API Gateway Challenges - Ep 175
2025-04-13Exploring AWS Step Functions & API Gateway Integration with CDK - Episode 174
2025-04-12Exploring AWS CDK and API Gateway Setup for Glowing-Telegram Project - Episode 173
2025-04-10Refactoring Rust Lambda Functions + Handling AWS Rate Limit Errors - Episode 172
2025-04-08Improving OpenAI API Usage in Rust with Exponential Backoff - Episode 171
2025-04-06Building a Stream Manager with TypeScript and Rust – Episode 170
2025-03-30Implementing DynamoDB Queries and Debugging in Rust: Glowing-Telegram Project - Episode 169
2025-03-25Optimizing Row Interaction and Backend Enhancements | Rust APIs + React-Admin - Episode 168
2025-03-22Building Stream Timelines and Bulk Episode Creation | Glowing-Telegram Project - Episode 167
2025-03-15Building an API with Python, Rust, Pulumi, and AWS: DynamoDB Integration - Episode 166
2025-03-06DynamoDB Table Creation and Data Sync with Pulumi and Python - Episode 165
2025-02-23Migrating Data from Postgres to DynamoDB with Python for Glowing Telegram Project - Episode 164
2024-12-31Building a Dynamic Stream Manager Interface with Material-UI | Episode 163
2024-12-30Building a Custom Stream Manager UI for Glowing Telegram | Episode 162
2024-12-29Building a Custom Twitch Dashboard: React + Rust Integration | Episode 161
2024-12-27Exploring Profile Management and Authentication with React-Admin | Episode 160