Folder structure and organization
Folder Structure
Last updated
Was this helpful?
Folder Structure
Last updated
Was this helpful?
Let's talk about what's inside the downloaded package.
Chisfis is a Next.js project, built on Next.js 15 - App router, so it is built and follows the structure of Next.js.
For a better view, please check the Next.js tutorial here -
Top-level folders are used to organize your application's code and static assets.
App Router
Pages Router
Static assets to be served
Optional application source folder
Top-level files are used to configure your application, manage dependencies, run middleware, integrate monitoring tools, and define environment variables.
Next.js
Configuration file for Next.js
Project dependencies and scripts
OpenTelemetry and Instrumentation file
Next.js request middleware
Environment variables
Local environment variables
Production environment variables
Development environment variables
Configuration file for ESLint
.gitignore
Git files and folders to ignore
next-env.d.ts
TypeScript declaration file for Next.js
tsconfig.json
Configuration file for TypeScript
jsconfig.json
Configuration file for JavaScript