This work-in-progress project contains a demo of a C# .NET Core application that polls new posts and streams the data via SignalR to a React client, which displays charts on various statistics via Recharts.
- Visual Studio Community 2022
- Node 14.18.1
- NPM 6.14.15
- Windows 10
- Create a Web Application for the Reddit API
- Navigate to https://www.reddit.com/prefs/apps/
- At the bottom, click the 'Create An App' button
- Give it any name, such as
demo - Select
web appfor the type - For
redirect uri, enter the URL the project will be running on:- Using Visual Studio run/debug:
https://localhost:7025/
- Using Visual Studio run/debug:
- Your
Reddit:AppIdis the auto-generated string underneath the textweb app - Your
Reddit:AppSecretis displayed next to the labelsecret
-
Clone this repository:
git clone https://github.com/AlexReff/StreamingDemo.git -
Open the project in Visual Studio
-
Right click on the Project in the Solution Explorer, and select
Manage User Secrets -
From the Reddit application, copy your
IDandSECRETso the file looks like:{ "Reddit:AppId": "ID", "Reddit:AppSecret": "SECRET" } -
Build or run the solution in Visual Studio
- Incomplete styling/layout
- Some browser extensions, such as
uMatrix, will prevent the web worker from starting when running the project locally
- Front-End
- Tests
- CSS/styling on graph & page/layout, fix animations
- Finish decoupling & abstractions
- Add error + message display for invalid/error server states
- Refactor pages/components into proper abstractions + layout
- Add visualization features (eg filtering)
- New visualizations/statistics
- Theming support/CSS refactoring
- Add ability to view previous stat states (redux undo/redo)
- Back-End
- Tests
- Clean/remove comments & leftover code
- Finish decoupling & abstractions
- New serverless backends (AWS, Azure)
- Config
- Github configurations & production-ready branch management