How to structure project in Next.js
I am new to web development and to Next js. I want to know what is the best way to structure. Like we keep pages in /pages directory and /static, /components.
So where i can keep my code related to validation, some business logic etc