Implementing Refresh Token Logic in a MERN apptoday i finally implemented refresh tokens properly. i had known the concept for a while — access token expires fast, refresh token lives longer, rotate when needed. but knowing something conceptuallyFeb 23 · 4 min readpiyushdeshmukh.hashnode.dev
Design TinyURLIntroduction A URL Shortener service takes a long URL (like https://example.com/some/very/deep/path) and produces a much shorter alias (like https://short.ly/aBcD12). Users accessing the short URL are redirected to the original long URL. Examples inc...Sep 14, 2025 · 5 min readpiyushdeshmukh.hashnode.dev