JavaScript

Tailwind AutoSize Text Area Component for React

Tailwind custom TextArea component with auto grow height feature. Like Material UI auto size textarea component here is a similar Autosize TextArea using Tailwind... Read more »

2024 Guide to NestJS, TypeORM, and PostgreSQL integration with Docker

Use PostgreSQL, and TypeORM with Nest JS backend framework. Set up PostgreSQL on Docker with a docker-compose.yml file. Create Nest App nest new twitter-app-api... Read more »

npm ERR! code ENOENT – NEXT JS – Installation Issue : SOLUTION

Solution for Error when trying to install Next JS : npm ERR! code ENOENTnpm ERR! syscall lstat npm ERR! code ENOENT npm ERR! syscall... Read more »

Understanding Variable Shadowing in JavaScript

In JavaScript, you might create a new variable with the same name as an old one. This is tricky for beginners. For example, you... Read more »

Secure Your Fastify App: Simple Predefined JWT Token Verification

Fastify is a popular Node.js web framework known for its speed and flexibility. When building APIs, security is paramount. This blog post dives into... Read more »

2024 : JavaScript Interview Question & Resources

Interview question for Javascript interview preparations 2024. Resources for Javascript interview cracking in 2024. 500 JS interview questions and answers. JavaScript Interview Questions &... Read more »

Fastify Cron Job for Scheduling Tasks Monthly, Daily

This blog post dives into the world of Fastify cron jobs, equipping you with the knowledge and code to schedule tasks and automate actions... Read more »

Fastify : Razorpay Webhook Signature validation

How to handler Razorpay Webhooks with signature validation Firstly create a webhook, for local testing make use of ngrok port forwaring. Fastify Backend Code... Read more »

AWS S3 File Upload using Fastify Multipart Example Code

Example code of File uploading to Amazon S3 using node fastify backend. Fastify uses Fastify multipart for image/ file uploading. Fastify Route - fileUpload.route.ts... Read more »

Fastify Route, Handler, Service Codes

Fastify Route code server.get( "/googlelink/:id", { schema: { params: $Sref("idParamsSchema"), }, }, fetchGoogleUrlBySurveyIdHandler ); Fastify sample controller code export async function fetchGoogleUrlBySurveyIdHandler( request: FastifyRequest<{... Read more »