Skip to content

Small web application built using PHP 7.1 & Symfony 3 to show a summary of food hygiene ratings across the establishments in a local authority.

Notifications You must be signed in to change notification settings

chrishodgson/symfony-food-hygiene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Small web application built using PHP 7.1 & Symfony 3 to show a summary of food hygiene ratings across the establishments in a local authority.

Assumptions

  • The Establishments API will return all establishments for a particular local authority without requiring paging (ie pageSize=0).

Installation

  • read the System Requirements
  • clone the repository: git clone https://github.com/chrishodgson/symfony-food-hygiene.git
  • cd into the repository folder and run composer: composer install
  • serve the application: php bin/console server:start
  • Visit http://127.0.0.1:8000 in a web browser

System Requirements

Browser Support

This app uses jQuery and Bootstrap which have certain restrictions when it comes to browser support, in particular Internet Explorer. More info...

Running the Unit Tests

  • cd into the repository folder and run phpunit: bin/phpunit

Improvements

  • Cache the list of local authorities and ratings returned for each Local Authority to improve performance

About

Small web application built using PHP 7.1 & Symfony 3 to show a summary of food hygiene ratings across the establishments in a local authority.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published