Over the last nine months I’ve been building an online service for Health and Safety Consultants called the Business Safety Net. This article explains how the constituent parts fit together and how the development process has gone, from gathering requirements, writing tests, back end Rails, front end angular and on to marketing.
Who is it for ?
The Business Safety Net is for Health and Safety Consultants who are responsible for helping a bunch of other small businesses stay compliant with rules and regulations. A typical consultant might have dozens of clients, each having dozens of ways to stay compliant, cleaning kitchens, fridges, flues, ovens, insuring vehicles, paying road tax, carrying out vehicle MOTs and so on.
How does it help Health and Safety Consultants ?
Consultants sign up to the online service and choose a subdomain like jens-kitchen.business-safety-net.co.uk. Then they add user accounts for people at their client ( eg Jens Kitchens) so that these people can be assigned tasks.
The consultant then works with her client to identify ‘liabilities’, for instance vehicles, equipment and people who need regular checks. Lastly the checks needed on each liability are scheduled and assigned to users.
The responsible user gets emails and SMS messages to warn when a check is coming up, and again when it becomes overdue. The boss can also subscribe to these warnings.
Users see a list of tasks that look like traffic lights, the red ones at the top being most urgent.
The front end is written in Angular JS using Bootstrap UI. I chose not to use Rails for the front end, preferring to just serve up json for Angular to interpret using Restangular.
The main domain goes to a WordPress blog and users have subdomains. Each client gets their own version of a Postgres Schema, accessed using the Apartment gem.