Skip to content

HugoMarx/Film-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

162 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Film Finder App

Project Repository : https://github.com/HugoMarx/Film-finder

Film Finder is an application created to help photographers to browse analogic film stock references available from various retailers accross the web. Film stocks can be filtered and compared using multiple criterias to find the most suitables offers for you needs.

Requirements

  • Docker & Docker compose
    To run locally :
    • PHP 8.2 or later
    • Composer
    • MySQL

Installation

To install the project from scratch, run make first-install.
Once installed, run the app using make start or docker compose up -d.

The project can be open @ localhost:80.

The first-install script runs the following tasks :

  • Pulls, install and launch Docker contenerized environnement (see docker-compose.yaml & Dockerfile)
  • Creates the project's database and runs latest migration.
  • Loads fixtures into the database.
  • Populate the db by fetching film stocks data.

Populating the database manually

Code quality and metrics

The project uses PHPStan and PHP_CodeSniffer to maintain code quality.
Run static code analysis with make phpstan. The analysis configuration in defined in the phpstan.neon file.
Run make phpcs to detect violations of coding standards, and make phpcbf to automatically correct coding standard violations.
The coding standards analysis uses PSR12 standards configuration.

The project also relies on PHPMetrics in order to gather code quality and projects insights. To build these metrics, run make phpmetrics
and access the results on http://localhost/metrics/index.html

CI/CD

Main dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published