Sign in
Log inSign up

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

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct