SShortSingh.
Back to feed

Developer's nutrition API gets 54 free signups but no paid upgrades; two bugs found

0
·4 views

A developer published a food and nutrition API on RapidAPI offering calorie and macronutrient data, barcode lookup, allergen detection, and diet tools. The service draws on USDA FoodData Central and Open Food Facts and attracted 54 free-plan signups without any paid upgrades. Investigating the lack of conversions, the developer discovered that single-food lookups returned zero calories because of a mismatch in USDA's nutrient data format. A second problem was that the server did not verify that requests came through RapidAPI, so paid plans could be bypassed. The developer has since fixed both issues, requiring a secret header on every request, and corrected a listing that described an endpoint that did not exist. The developer is now seeking feedback on pricing and on features that would make the API competitive with established alternatives like Edamam and Nutritionix.

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
ProgrammingHacker News ·

Project Brings 16-bit Windows Versions Back to 64-bit Windows

A GitHub project called winevdm enables 16-bit Windows software, including Windows 1.x, 2.x, 3.0, and 3.1, to run on 64-bit Windows systems. The source is a Hacker News post that drew a small amount of attention, with 4 points and one comment at the time it was listed. The article text provided is limited to the project link and discussion metadata, so details on implementation and compatibility are not included here. The tool addresses the fact that 64-bit Windows cannot natively execute 16-bit code. Interested readers can consult the linked repository for specifics.

0
ProgrammingDEV Community ·

Production PWA Lessons: Manifests, Workbox Caching, and Push Notifications

A DEV Community article argues that standard PWA tutorials stop short of what matters once real users install and rely on an app. It highlights manifest choices such as tagging start_url with a query parameter to track installs separately, and using properly padded maskable icons listed as separate entries. The piece recommends Workbox over hand-written service worker code, with a Laravel-oriented example that pairs NetworkFirst for pages, StaleWhileRevalidate for API data, and CacheFirst for images. It also addresses the problem of stale UIs after deployments, where an older service worker keeps controlling open tabs.

0
ProgrammingDEV Community ·

Sepuluh dari 30 Image Docker Populer Masih Memuat Root CA eMudhra yang Dicabut

Browser seperti Chrome dan Firefox sudah mencabut kepercayaan pada root emSign ECC Root CA - G3 setelah insiden kunci lemah di delapan intermediate CA eMudhra. Namun, image container tidak ikut diperbarui secara otomatis, sehingga aplikasi di dalamnya bisa tetap menerima sertifikat dari root tersebut. Pemindaian terhadap 30 image Docker populer pada 24 Oktober 2026 menemukan 10 image yang masih membawa G3. Sebagian image yang tampak sudah diperbaiki juga ternyata masih menyimpan root yang dicabut, seperti salinan certifi milik pip atau cacerts milik Java. Para pengembang disarankan memeriksa seluruh trust store dalam image dan melakukan rebuild dengan --pull.

0
ProgrammingDEV Community ·

Structured Chatbot Search for Gaming Supplier Invoices Prioritizes Field Accuracy

A developer argues that a gaming company's chatbot for finding supplier invoices must return correct, specific fields rather than plausible-sounding answers. The proposed design pairs embedding-based semantic search to retrieve relevant invoice passages with a chat model that outputs schema-constrained JSON. Keeping retrieval and extraction separate makes it easier to tell whether errors come from finding the wrong evidence or mapping it wrongly. The article recommends preserving source identifiers, validating output, and marking absent fields as missing, and it proposes evaluating exact field accuracy on held-out invoices. It also compares OpenAI, Google Vertex AI, Cohere, Pinecone, and an OpenAI-compatible gateway by setup cost and fit.