My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to structure project in Next.js

faisal ansari's photo
faisal ansari
·Apr 8, 2019

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