Skip to content

OfficeForProductSafetyAndStandards/product-safety-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Safety Database

The Product Safety Database is the place to create notifications for unsafe or non-compliant products. It is used by OPSS and local authority trading standards teams to log and share information about unsafe or non-compliant products.

Built by the Office for Product Safety and Standards.

For enquiries, contact [email protected].

Technical overview

The application is written in Ruby on Rails.

We're using ERB as our HTML templating language, ES6 JavaScript and Sass for styling.

We're using Sidekiq as our background processor to do things like send emails and handle attachments.

We're processing attachments using our antivirus API for antivirus checking and Imagemagick for thumbnailing.

Getting started

See getting started.

Deployment

See deployment.

Logging and monitoring

See logging and monitoring.

Using Cloud Foundry

See Cloud Foundry reference and DNS.

Running tasks

See tasks.

Entity Relationship Diagram

A diagram of the project's models is automatically generated by rails-erd. Select the most recent ERD workflow run and download the "ERD" build artifact from the bottom of the Summary page.

Architectural decision records

See decisions.

Licence

MIT Licence