SShortSingh.
Back to feed

GiveRoute App Matches Donations to Real Shelter Needs Using 8-Factor Scoring

0
·1 views

A developer has built GiveRoute, an open-source web app designed to fix a common problem in donation logistics where shelters receive unwanted items while critical needs go unmet. The platform aggregates verified community wishlists and uses a deterministic 8-factor scoring engine to match donor offers to the most urgent, relevant requests. Needs automatically lose priority if unverified after 30 days, helping prevent outdated listings from cluttering the system. Google Gemini is used server-side to parse messy donor descriptions into structured data, while an 8-step handoff protocol guides donations from initial offer to scheduled delivery. The app is built on React 19, TypeScript, Express, and Supabase, with 41 automated tests, and is live at giveroute.vercel.app.

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 ·

Postgres 18 fixes silent audit log corruption with new RETURNING old/new syntax

A long-standing race condition in database applications allows concurrent transactions to read the same value simultaneously, causing lost updates while the audit log falsely appears consistent. In tests simulating ten workers each withdrawing from a shared account, between four and six transactions were silently lost per run, yet the audit table showed no anomalies. PostgreSQL 18 introduces old and new row references directly within a RETURNING clause, allowing the read, write, and audit insert to occur as a single atomic statement. This eliminates the gap between reading and writing a value that competing transactions could previously exploit. The change means audit logs now reflect what a query actually overwrote, not what the application last read, making silent data corruption detectable by design.

0
ProgrammingDEV Community ·

How to merge LoRA adapters and deploy fine-tuned LLMs using vLLM or Hugging Face Spaces

A fine-tuned LoRA adapter requires a deliberate deployment strategy before it becomes a usable product. FineTune Studio supports three inference paths — local inference, a vLLM server, and a Hugging Face Space — each suited to different use cases ranging from demos to production traffic. Merging adapter weights into the base model simplifies serving but is optional when using vLLM, which supports LoRA adapters natively. Before declaring a model deployed, engineers should verify that the chat template, stop tokens, precision settings, and throughput under realistic concurrency all match training conditions. The article also stresses versioning the adapter, dataset, and evaluation results together to track changes over time.

0
ProgrammingDEV Community ·

How to Secure a React Telegram Mini App Using initData Validation and JWT

A developer tutorial published on DEV Community outlines a two-sided authentication flow for Telegram Mini Apps built with React and a PHP backend. The React app reads initData from the Telegram Web App SDK and sends it as a custom header with every API request. The PHP server then validates the header using HMAC-SHA-256 with the Bot Token as the key, rejecting forged or expired data before issuing a short-lived JWT tied to the verified Telegram user ID. Protected API endpoints subsequently verify the JWT and confirm that the telegram_id claim matches the expected user for each resource. The approach is designed to defend against three main threats: replayed initData, forged user IDs, and JWT reuse across different users.

GiveRoute App Matches Donations to Real Shelter Needs Using 8-Factor Scoring · ShortSingh