I’m writing this as my personal documentation also, because I was having a hard time when I tried re-implementing this in another project. Feels free to give me advice for better way to implement this. lets create our project first npx create-next-app@latest
# or
yarn create next-app
# or
pnpm create next-app…