Understanding the Project Structure
Important
The project follows a standard directory structure for a modern web application. It's important to familiarize yourself with this layout to efficiently navigate and contribute to the codebase.
Root Directory
At the root of the project, you will find critical folders and files that serve as the backbone of your application:
Source Directory
The src directory contains the main source code of the application. Below are the key files and subdirectories:
Awesome! Now you understand the architecture of your project. In the next section, I'll walk you through how to use middleware to protect your routes.
Next Steps
Explore how to use Middlewares in Next.js.
Middlewares
Implementing middleware in Next.js with Convex to handle authentication flows.
For more details on how to structure your Next.js projects, refer to the official documentation:Next.js Project Structure