
AnglerFeed
In developmentFull-stack Social Platform
C#
ASP.NET Core
.NET 10
Entity Framework Core
PostgreSQL
Redis
React
Vite
JavaScript
Three.js
SignalR
Cloudinary
Resend
Cloudflare Turnstile
Docker
GitHub Actions
Git
Azure
Vercel
A fishing social network where new anglers learn from experienced ones, with Instagram-style media posts, Reddit-style discussion threads, voting, comments, and notifications, built on a security-first ASP.NET Core (.NET 10), PostgreSQL, and Redis backend designed to scale out horizontally.
- Instagram-style Posts with up to 10 images or videos each, Reddit-style Reels (rich-text discussion threads with optional media), follows, notifications, and profiles linking to TikTok, Instagram, and X so anglers can grow an audience beyond the platform
- Like/dislike voting on every post, thread, and comment, with Reddit-style comment ranking (Top, Best, Controversial, New), depth-capped nested replies on Reels, flat @-mention comments on Posts, and comment moderation for content owners
- JWT authentication in HttpOnly cookies: 15-minute access tokens and SHA-256-hashed refresh tokens rotated atomically through a row-locked PostgreSQL claim, with token families, reuse detection that revokes only the compromised session chain, a 30-day absolute session cap, and Redis-backed revocation stamps that lock out banned users and stale sessions within seconds
- Layered abuse defense: Cloudflare Turnstile with action and hostname validation, honeypot fields, Have I Been Pwned breached-password screening, Redis account lockout using atomic Lua INCR+EXPIRE, enumeration-safe registration and password reset, and 20+ rate-limit policies (token-bucket reads, sliding-window writes) partitioned by user ID or the proxy-resolved client IP
- Two-tier caching (in-process L1 + Redis L2) with synchronized TTLs, cache invalidation after the transaction commits, per-viewer data merged in after the cache layer so it's never shared between users, and fail-open degradation so a Redis outage falls back to PostgreSQL instead of taking the site down
More highlights (10)Fewer highlights
- Fail-closed XSS defense for rich text: a strict tag, attribute, and URL-scheme allow-list (HtmlAgilityPack) plus a second independent HtmlSanitizer pass to guard against parser differentials, forced noopener/noreferrer links, and plain-text previews that never truncate raw HTML
- Three-gate upload validation (size limits, MIME allow-list, magic-byte signature verification) before media reaches Cloudinary, behind a provider-neutral storage interface so hosting can move to self-managed storage without touching business logic
- Hardened HTTP layer: strict Content Security Policy, HSTS with preload, Permissions-Policy, clickjacking protection, a credentialed CORS allow-list, and forwarded-header trust limited to known proxy ranges to prevent IP spoofing
- PostgreSQL data layer on EF Core 10: opaque keyset (cursor) pagination, TPT inheritance so voting and comments work across content types, denormalized counters updated in-transaction with single-round-trip ExecuteUpdate and race-safe guards, DbContext pooling, and automatic retry on transient failures
- Resilient integrations: Polly pipelines (exponential backoff, timeouts, circuit breaker) on outbound media calls, a hosted background service that purges unverified accounts, and transactional email for verification and password reset through Resend
- Privacy by design: internal database IDs never leave the API; public routes use usernames and immutable slugs to block ID enumeration
- React (Vite) front end with modal-over-grid routing via React Router background locations, deduplicated proactive token refresh to prevent rotation races, and Cloudinary-optimized media (auto-gravity crops, face-focused avatars)
- In development: real-time direct messaging with SignalR, Logs (community catch logging verified by votes), V-Reel (a low-poly three.js fishing game), and an admin moderation dashboard
- Production architecture: Azure App Service behind Azure Front Door (CDN + WAF), front end on Vercel, and GitHub Actions CI/CD with dev, staging, and production promotion
- Accessibility target of WCAG 2.2 AA, with a full audit before launch









