Folder structure and organization
Folder Structure
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 - https://nextjs.org/docs/app/getting-started/project-structureβ
Top-level folders
Top-level folders are used to organize your application's code and static assets.

Top-level files
Top-level files are used to configure your application, manage dependencies, run middleware, integrate monitoring tools, and define environment variables.
Next.js
β
βnext.config.js
β
Configuration file for Next.js
βpackage.json
β
Project dependencies and scripts
βinstrumentation.ts
β
OpenTelemetry and Instrumentation file
βmiddleware.ts
β
Next.js request middleware
β.env
β
Environment variables
β.env.local
β
Local environment variables
β.env.production
β
Production environment variables
β.env.development
β
Development environment variables
β.eslintrc.json
β
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
Last updated
Was this helpful?