HomeBlogProjects

Stay up to date

Get new articles in your inbox when I publish.

© Adarsha Acharya. All rights reserved.

SitemapRSS feedPrivacy PolicyBook a call

Blog

Technical writing on TypeScript, React, Next.js, and AI.

tRPC File Uploads to AWS S3 with Next.js

Upload files and images to an AWS S3 bucket via pre-signed url using tRPC and Next.js. This guide covers AWS setup, tRPC API integration, and image uploader component implementation in Next.js.

February 2, 2025·7 min read

Typesafe Internationalization (i18n) in Next.js with next-intl

Comprehensive guide to internationalize your Next.js app with next-intl, typesafety for translation strings, split translations into multiple files and translate outside React components.

September 30, 2024·9 min read

Format Uniform Response Structure in Elysia.js

Learn how to format the success and error response in a standard format in Elysia.js middleware to ensure consistency across the application, handle the errors gracefully, and provide the user with the necessary information.

July 14, 2024·8 min read

Create Email Service in NestJS with Sendgrid, MJML and Handlebars

Create email service in Nest.js using MJML for responsive email template and handlebars for dynamic email content, and send email using Sendgrid (Twilio).

June 1, 2024·8 min read

Dissecting Four Layers of Caching in Next.js

In depth overview of four levels of caching mechanisms in Next.js 14 (app router): Request Memoization, Data Cache, Full Route Cache and Router Cache.

May 19, 2024·9 min read

Integrate AWS S3 with NestJS for private and public files storage

Store private and public files in single S3 bucket, generate pre-signed URLs for private files using NestJS and AWS SDK v3. Also, perform CRUD operations on S3 objects using NestJS.

May 5, 2024·10 min read
Prev
1234
Next