Skip to content

The website for play-test.co.uk - a system for logging play equipment inspections (BS EN 19460)

License

Notifications You must be signed in to change notification settings

chobbledotcom/play-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

play-test - BS EN 14960 inspection-logging tool

A web app for managing safety inspections of inflatable play equipment like bouncy castles and slides. Built by Chobble.com.

License: AGPL v3 Docker Image codecov

play-test helps inspectors track and document safety checks on inflatable play equipment. It handles equipment records, inspection forms, photo management, and PDF report generation. Makes repeat inspections of the same units quick and straightforward.

A public instance is live at play-test.co.uk.

Sponsor Development

Features

๐ŸŽช Equipment Tracking

  • Store unit details, dimensions, and manufacturer info
  • Keep inspection history for each piece of equipment
  • Upload photos with automatic processing
  • Quick access to previous inspection data

๐Ÿ“‹ Inspection Management

  • Seven assessment types covering different safety aspects
  • Draft inspections you can edit before finalising
  • Generate PDF reports with QR codes
  • Built-in safety calculations (anchor points, user capacity, etc.)

๐Ÿ‘ฅ Company Management

  • Company accounts with branding
  • User management and access control
  • Upload your logo for PDF reports
  • Works on phones, tablets, and desktops

๐Ÿ› ๏ธ Technical Features

  • Export any unit or inspection as PDF or JSON
  • Shows safety standards right where you need them
  • Dark/light theme
  • Minimal dependencies
  • Full internationalisation support
  • No JavaScript required for core functionality

Getting Started

Docker

Quickest way to try it out:

docker pull dockerstefn/play-test
docker run -p 3000:3000 dockerstefn/play-test

Development Setup

There's a Nix flake for easy environment setup:

# Clone the repo
git clone https://github.com/yourusername/play-test.git
cd play-test

# With direnv (recommended)
direnv allow

# Or manually with Nix
nix develop

# Standard Rails setup
bundle install
rails db:create db:migrate db:seed
rails server

Traditional Setup

# Requires Ruby 3.0+ and SQLite
bundle install
rails db:setup
rails server

Testing

Currently over 90% test coverage:

# Run all tests with coverage
bin/test

# Check specific file coverage
bin/coverage_check app/models/inspection.rb

# View detailed HTML report
open coverage/index.html

Test Coverage

If you want to help improve Play-Test, a great way would be to write some more rspec and Capybara tests. Check out coverage.play-test.co.uk for an up-to-date test coverage breakdown.

Tech Stack

  • Rails 8.0+ - With minimal gems
  • SQLite - No fancy databases (yet?)
  • RSpec & Capybara - 90%+ test coverage
  • Semantic HTML + MVP.css - Simple CSS
  • Turbo for progressive JS enhancement

Contributing

Pull requests welcome! This is an open source project and we're not affiliated with any industry bodies, so improvements from anyone are appreciated.

AGPLv3 - see LICENSE file. This means you can use, modify, and distribute the code, but you must share any improvements.

Built by Chobble - an ethical and open source web and software developer in Prestwich, Manchester, UK

About

The website for play-test.co.uk - a system for logging play equipment inspections (BS EN 19460)

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors 6