Skip to content
APFerrer
P-PUB-01 · ProductPublic administration

Animal welfare software for local governments (Spain's Law 7/2023)

A platform that connects the public administration with shelters, rescue centers, vets, the collection service, police, foster homes and volunteers: public reports, incidents, an animal record with medical history, fostering, adoptions, on-call shifts and a public portal.

Source codeExclusivity availableInstalled

Spain's Animal Welfare Law (Ley 7/2023) makes municipalities responsible for collecting lost and abandoned animals and for managing feral cat colonies, and coordination with shelters, vets and police nearly always lives in phone calls and messaging groups. This animal welfare software for local government connects the administration and every organization involved on a single platform: public reports, incidents on the map, an animal record with medical history, fostering, adoptions, volunteering and on-call shifts for the collection service.

Who it is for

  • Municipalities, island councils (cabildos), provincial councils (diputaciones) and associations of municipalities (mancomunidades) that provide the service and report on it.
  • Regional governments (comunidades autónomas) that coordinate their municipalities.
  • Shelters, rescue centers and foster centers that work with the administration.
  • Contractors running the collection service and partner veterinary clinics.

It is built around the duties that Spain's Law 7/2023 sets for local governments, and the interface is in Spanish.

What animal welfare software for local government solves

  • Reports that get lost. A report from the public reaches whoever has to act, with location, photos and a status that everyone involved can see.
  • Scattered histories. Each animal has a single record from collection to adoption, with its medical history.
  • Lost and found reports that never meet. The system proposes matches by species, color, breed, size, sex, age and distance.
  • No view of the whole territory. The administration sees what is happening in its area and publishes it on its portal.

What you can do with it

  • Set up the institution with its network of organizations and see the network on a map.
  • Give each type of organization its own dashboard: shelters, rescue centers, foster centers, veterinary clinics, animal behaviorists, boarding kennels, the collection service, police forces, feral cat colonies, foster homes, adopters and volunteers.
  • Check an institutional dashboard with indicators and a Law 7/2023 checklist (municipal plan, colony program, 24-hour collection, shelter…).
  • Publish public forms for lost and found animals, protected with reCAPTCHA, and send the person who reported a link to follow their case, add photos or confirm that the animal is theirs.
  • Manage incidents by type (found, injured, hit by a vehicle, abandonment, mistreatment, colony, litter…) with statuses, assignment, manual escalation, photos and documents.
  • See them as a list, on a board or on the map, with trays for escalated, unassigned, history and trash.
  • Review the matches between lost and found animals, sorted by score.
  • Generate an incident report in PDF and send it by email.
  • Open each animal's record with a unique code, identification, status (quarantine, available, reserved, in foster care, adopted…), events, photos and documents.
  • Keep the medical history: treatments, vaccinations, diagnostic tests and appointments, with clinical templates.
  • Manage foster homes, their applications and the search for an available home.
  • Publish the animals available for adoption, process adoption applications and generate the contract in PDF, which is signed by link with the IP address and browser recorded, or rejected with a reason.
  • Organize volunteer tasks with assignment and rating.
  • Plan the collection service's on-call shifts, with the active shift, history and a warning when one operator's shifts overlap.
  • Keep a record for each feral cat colony with a traffic light that warns when the census is out of date, plus the places available at each organization.
  • Send communications with templates, mailing lists and history, and internal notices.
  • Publish a portal for each institution with animals for adoption, colonies, announcements, campaigns, events, aggregated incidents and a transparency report, with every publication reviewed by the administration.
  • Manage institutions, organizations, users, features that can be switched on, auditing and metrics, with a support access that is logged.

Benefits

  • Every report has an owner and a status, and the person who reported it knows what happened without calling.
  • All organizations work on the same animal record.
  • The administration can show how it provides the service with data from its own area.

Industry context

General industry data with its public source. These are not results of this product.

What you get with each license

Price upon request, depending on license type and scope. Maintenance and support are contracted separately for every license type.

  • The platform installed on the administration's servers, its provider's servers or its cloud, under a license to use.
  • Initial setup of the institution, its organizations, its users and its portal.
  • Initial training for administrators.

Technical specifications

Language and runtime: TypeScript 6.0 on Node.js. Minimum supported version: Node.js 20.19 (required by Prisma 7 and the other installed dependencies).

Frameworks: Next.js 16.2 and React 19.2, with Prisma 7.7 as the ORM and Tailwind CSS 4.2.

Database: PostgreSQL with the PostGIS, pg_trgm, pgcrypto and uuid-ossp extensions, declared in the schema.

Operating systems: Linux, Windows or macOS with Node.js.

Interface languages: Spanish.

Required infrastructure:

  • PostgreSQL with the PostGIS, pg_trgm, pgcrypto and uuid-ossp extensions.
  • Authentication and storage for photos and documents through Supabase (cloud service or self-hosted).
  • An SMTP server.
  • Mapbox for maps and geocoding (requires your own account).
  • Google reCAPTCHA for the public forms (requires your own account).
  • A task scheduler that triggers the summary task every day over HTTP, with a secret.

Private deployment: Needs a connection to Mapbox, for maps and geocoding, and to Google reCAPTCHA, for the public forms. Everything else can run on your infrastructure, with Supabase installed on your servers and your own email server.

Main libraries:

Library Version License
next 16.2.4 MIT
react 19.2.5 MIT
prisma and @prisma/client 7.7.0 Apache-2.0
@supabase/supabase-js 2.103.3 MIT
@supabase/ssr 0.10.2 MIT
mapbox-gl 3.22.0 Mapbox's own license (SEE LICENSE IN LICENSE.txt)
@mapbox/mapbox-gl-draw 1.5.1 ISC
@react-pdf/renderer 4.5.1 MIT
recharts 3.8.1 MIT
@tanstack/react-query 5.99.2 MIT
radix-ui 1.4.3 MIT
nodemailer 7.0.13 MIT-0

Dependencies with specific license terms:

  • mapbox-gl 3.22: Mapbox's own license (SEE LICENSE IN LICENSE.txt).
  • dompurify 3.4 (transitive dependency of isomorphic-dompurify): MPL-2.0 OR Apache-2.0.
  • lightningcss 1.32 and its platform binaries, used when compiling the styles: MPL-2.0.
  • @img/sharp-libvips-* 1.2 (libvips binaries installed by sharp, an optional dependency of Next.js): LGPL-3.0-or-later. The sharp 0.34 binaries for Windows and WebAssembly declare Apache-2.0 AND LGPL-3.0-or-later.
  • PostGIS, an extension installed on the PostgreSQL server: GPL-2.0-or-later.

Compatibility and integrations: Mapbox GL JS v3, Mapbox Geocoding API v5, Mapbox streets-v12 and light-v11 styles, Google reCAPTCHA with server-side verification (siteverify) and SMTP.

Redistribution terms

The asset's own code can be embedded in the licensee's commercial products under the source code and sector or territory exclusive licenses, on the terms of the contract. With the installed license, the software is used and not redistributed. Specific license terms apply to mapbox-gl (Mapbox's own license), dompurify (MPL-2.0 OR Apache-2.0), lightningcss (MPL-2.0), the libvips binaries (LGPL-3.0-or-later) and the database's PostGIS extension (GPL-2.0-or-later); see the list under Technical specifications.

Installation requirements

Installed on the administration's servers, its provider's servers or its cloud, with PostgreSQL and an authentication and storage service compatible with Supabase, in the cloud or self-hosted. It also needs SMTP, a Mapbox account, reCAPTCHA keys and a daily scheduled task.

Integrations

Mapbox for maps, Google reCAPTCHA on the public forms and SMTP email.

FAQ

Frequently asked questions

  • Does it cover every obligation in Law 7/2023?

    It supports the municipal operations (collection, colonies, sheltering and coordination with organizations) and shows a checklist. Compliance depends on how each administration organizes the service.

  • Do members of the public need an account to report?

    No. Anyone can report from the public form. Each organization works from its own dashboard.

  • Can it be installed on the municipality's servers?

    Yes, with every service self-hosted except maps, which need a Mapbox account.

  • Is the adoption contract signature valid?

    It is a simple electronic signature by link, with the date, IP address and browser recorded. If you need a qualified signature, it has to be integrated.

  • Does it include management of donations, sponsorships or grants?

    No. The offer covers the operations described on this page.

  • Is maintenance included?

    No. Maintenance (updates and bug fixes) and support (questions, training and adaptations) are contracted separately.

Request

Request information on P-PUB-01

Fill in the form with the asset reference and the license type you're considering. I reply in writing. If you need to review code, tick the NDA box and we'll sign one before anything is shared.

Controller: APFerrer. Purpose: to answer your request. You can exercise your rights as described in the privacy policy.

Price upon request, depending on license type and scope. Maintenance and support are contracted separately.