Blogs

Streaming structured data from an HTTP endpoint

Mar 20, 2025

Streaming structured data can be tricky. Using server-sent events with the text/event-stream format makes it easier to send and parse JSON in real time.

Handling sessions with JWTs

Jan 15, 2025

JWTs are stateless by design. Adding timestamps helps control sessions and offers a simple way to manage auth without storing anything on the server.

Practical guide to web typography

Dec 18, 2024

Websites with good typography lead to better readability and a stronger user experience. A few small changes go a long way.

© 2025 - surajtc.dev