Change the application to have a single route at /is_leap_year/{year} that returns whether or not the year is a leap year.
Add a .gitignore to ignore composer.lock and the vendor directory.