SShortSingh.
Back to feed

Developer builds Firebase-based e-signature system with OTP, PDF hash, and audit trail

0
·1 views

A developer built an internal document acknowledgement system using Firebase, Netlify Functions, and pdf-lib to collect verifiable proof that team members had read and accepted company documents. Rather than using Firebase Phone Auth with SMS OTP, the system generates a 6-digit email OTP server-side, storing only a salted hash in Firestore with a five-minute expiry to cut costs and complexity. Each signed document record captures the user's name, timestamp, server-side IP address, and a client-computed SHA-256 PDF hash, forming a traceable audit trail. The developer deliberately avoided the term 'digital signature' in the UI, noting that under Italy's eIDAS-aligned rules, a qualified digital signature requires an accredited certification authority — something this system does not provide. The solution reuses existing infrastructure including EmailJS and Firebase Storage, adding no new services or extra costs.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AI Crawler Restrictions Could Quietly Fragment the Shared Web of Knowledge

Website owners are increasingly using robots.txt files to selectively block or allow specific AI crawlers, such as GPTBot or ClaudeBot, based on commercial deals or personal preferences. While each decision appears reasonable in isolation, experts warn that thousands of similar choices made simultaneously could erode the long-held assumption of a shared internet information environment. The fragmentation is not driven by malicious intent but by intellectual property protection and survival-level licensing negotiations in an ecosystem that no longer reliably sends traffic to publishers. Critically, the divergence is most visible at the retrieval layer: when AI systems access live web content, different bots may be permitted to cite entirely different sources in response to the same query. This means two AI systems could give different answers to identical questions not because of differences in reasoning, but purely due to differences in permitted access.

0
ProgrammingDEV Community ·

Why AI Prompts Are Not a System — and How to Build Skills That Last

A senior software engineer and tech lead argues that copying and reusing AI prompts is not a reliable system, because the same words can produce inconsistent outputs across different sessions and contexts. Drawing on frameworks from Glowforge CEO Dan Shapiro and AI strategist Nate B. Jones, the author distinguishes between disposable prompts and durable 'skills' — structured instructions with versioning, output contracts, and routing signals. Unlike prompts, skills specify what to produce rather than what to consider, and their improvements persist over time for both human and AI agents. The author reviewed their own order management API project to identify the best candidate for converting a prompt into a reusable skill, settling on a Gherkin scenario quality evaluation methodology that agents had repeatedly re-derived from scratch. The piece frames this shift as foundational infrastructure work, marking the start of a new phase in the author's public learning journey toward advanced AI-assisted engineering.

0
ProgrammingDEV Community ·

Developer Packages Reusable Claude Code Skills to Eliminate Repetitive React Setup

A developer frustrated with AI coding assistants generating generic boilerplate has created a set of reusable instruction files, called SKILL.md, for Claude Code and Cursor. These skill files encode production conventions — such as auth flows, form validation, and GDPR compliance — so the AI generates project-ready code instead of bare-bones templates. The system works by automatically activating the relevant skill when a developer describes what they are building, requiring no extra prompting. A bundle of eight skills, extracted from real SaaS codebases and covering common React features, has been packaged and made available for a one-time purchase. Each skill targets React and TypeScript but includes adaptation notes for Vue, Angular, and Svelte.

0
ProgrammingDEV Community ·

Developer Builds Memory Plugin for Voice-Powered Conference Agent Using Weaviate

A developer known as Astrodevil published a technical guide on June 17 detailing how to build a memory plugin for a voice-powered conference agent. The project integrates Hermes and Openclaw agents with Weaviate's Engram memory system. The tutorial, aimed at Python developers, walks through creating persistent agent memory to enhance AI-driven conference assistants. The open-source project covers key AI and programming concepts, making it relevant for developers exploring agent memory architectures.

Developer builds Firebase-based e-signature system with OTP, PDF hash, and audit trail · ShortSingh