This project is a non-profit eCommerce platform designed to support people in need. Unlike traditional online stores, when a customer makes a purchase, the product is not delivered to them but sent directly to a charitable organization in Lyon. The producer ships the item, and the organization is responsible for distributing it to those in need.
- Symfony 7.1.0
- Doctrine
- Sass
- JavaScript
- PHP CS Fixer
- Sass: Follow the
BEMmethodology for CSS structuring. - JavaScript: Use
CamelCasefor variables and function names. - PHP: Ensure the code follows the rules set by
PHP CS Fixer. - File Names:
- SCSS/CSS: Use
snake_case. - PHP/JavaScript: Use
PascalCasefor files containing classes or modules.
- SCSS/CSS: Use
- PHP 8.0 or higher
- Composer
- Live Sass Compiler plugin for Sass auto-compilation
-
Clone the repository:
git clone https://github.com/200habib/charity-site.git cd charity_site -
Install Composer dependencies:
composer install
-
Run the development server:
symfony serve:start
To format the code according to the defined rules, run:
vendor/bin/php-cs-fixer fix