Skip to content

Coding Convention

zainabBazoun edited this page Apr 25, 2026 · 1 revision

The codebase is organized into clearly defined frontend and backend directories, promoting separation of concerns and maintainability. Within each section, files are grouped logically (e.g., controllers, models, utilities, and components), making the structure easy to navigate.

Consistent coding conventions were followed throughout the project, including proper indentation, readable formatting, and meaningful naming of variables, functions, and files. For example, function names such as validateRegisterInput, comparePassword, and sanitizeFoodInput clearly describe their purpose.

Efforts were made to maintain clean and readable code, with reusable utility functions introduced to reduce duplication and improve modularity. Overall, the codebase reflects good organizational practices, though minor improvements could be made in maintaining consistency across all files.

Clone this wiki locally