The website of a national association of farmers who compost, built during my internship. Public pages present the association and its events; a back office lets it manage members and content without touching code.
- Year
- 2023
- Role
- full-stack developer (internship)
- Status
- live
- The public home page
- News and events for members
- The map of composting platforms across France
Overview
Agriculteurs Composteurs de France is a national association of farmers who compost. The site presents the association, its events and its resources to the public, and gives members a place to exchange practices.
Behind the public pages sits an administration area where the association manages members, memberships and published content without touching code. Forms, validation and emails are all handled server side with Symfony.
Built during my internship, it was my first production project end to end: gathering requirements with the client, designing the database, developing the site and deploying it.
Features
-
Platform map
Composting platforms on Google Maps, each with its certifications and products.
-
Member accounts
Registration, login and password reset, with user and admin roles.
-
Back office
The association manages structures, platforms and nomenclatures without touching code.
-
News
Articles written in a rich text editor, with a file manager for images.
-
PDF exports
Platform and structure sheets exported as PDF, rendered with dompdf.
-
Forms and mail
Contact and member messages, validated server side and sent by email.
Under the hood
- A Symfony 5.2 application: 22 Doctrine entities over MySQL, modelled on the association's members, farms, platforms and certifications, rendered with Twig.
- Public pages, member area and administration share one codebase; access is enforced per controller with IsGranted rules on ROLE_USER and ROLE_ADMIN.
- Forms go through Symfony Forms validation and trigger transactional emails through Symfony Mailer.
- Deployed on shared hosting with a simple release process the association can follow.
Built with
- PHP
- Symfony
- Doctrine
- MySQL
- Twig
- Google Maps
What I learned
- Talking to the people who will use the admin area every week is worth more than any feature list.
- Simple hosting constraints shape the architecture more than the framework does.
- Shipping a first production project end to end taught me more than the previous year of exercises.