This project was created as part of my learning journey in the OpenClassrooms curriculum (PHP/Symfony Application Developer).
--> Version : Français 📖
SnowTricks is a community platform dedicated to snowboarders.
Users can discover and share snowboarding tricks, as well as interact through a comment system.
- Trick Catalog : All visitors can view the list of tricks with descriptions.
- Trick Management : Registered users can add, edit, and delete tricks.
- Comment System : Members can comment on tricks and share tips.
- User Authentication : Secure sign-up and login.
- Security Enhancements : Protection against XSS, CSRF, and SQL injection.
- Responsive Design : Optimized for all screen sizes.
Before starting, ensure you have the following installed:
- PHP and Composer
- Symfony CLI
- MySQL
- Git
-
Clone the repository
git clone https://github.com/TolMen/OCProject6.git cd OCProject6
-
Install dependencies
symfony console composer install
-
Set up the database
- Edit the
.env
file and update the following line with your database settings :DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
- Create the database :
symfony console doctrine:database:create
- Generate the database structure :
symfony console make:migration symfony console doctrine:migrations:migrate
- (Optional) Insert dummy data :
symfony console doctrine:fixtures:load
- Edit the
-
Configure email sending
- Edit
.env.local
and set up MAILER_DSN :MAILER_DSN=smtp://your_mail_server
- Edit
Thank you for exploring this project.
Feel free to explore, modify, and improve it ! ✨
For any questions or collaboration, don’t hesitate to reach out ! 📩