Skip to main content

Overview

In this section, we will provide an overview of the codebase of the project. We will discuss the structure of the codebase, the technologies used, and provide examples of how to use and contribute to the project.

Structure

Record Books is a Next.js 14 project, and we have done our best to follow the best practices for organizing the codebase. We use the 'src' directory as well as the 'App Router'. The codebase of the project is organized into several directories, each of which contains a different part of the project. The main directories are as follows:

  • 'src/app/_db': Contains the database schema, the database connection, and the server actions for interacting with the database.
  • 'src/app/components': Contains the React components used in the project.
  • 'dashboard': Contains the Next.js pages used in the project for an authenticated user.