Programming is fun. It is nice to spend time with it and not realize how time passes, learning new things... I hope one day I will make awesome things with it.
Nothing here yet.
I’m very satisfied using Hashnode’s AI helpers. They help me to find title for the post, generate seo description etc. I’ve created a blog site with NextJS and wanted to add same feature. I achieved this with @google/generative-ai package (Gemini 2 -...

1.) Puth these in .env.local file NEXTAUTH_URL="http://localhost:3000" NEXTAUTH_SECRET="DwyqlAMSV********JhaUxW+RtnFuOpdB9LU=". GOOGLE_ID="********" GOOGLE_SECRET="********" GITHUB_ID="*******" GITHUB_SECRET="*******" 2.) Create src/app/api/auth/[…...

I am working on my blog project and have created an admin panel with the route /admin. To secure the admin routes, I created an authentication system using a PIN input method that employs JWT and refresh token logic. The refresh token is important be...
