nowfound

Dev tools · April 19, 2022

JA

JavaScript as a Database – Serverless Platform

Hi HN! I’d like to share with you my project: JSDB. Two months ago I had this thought while reviewing a PR on a web application. What if I didn’t have to write code to communicate with my backend or database? It would be fun to just use arrays and objects like you normally do in javascript and have things magically save. That weekend I hacked together something that used proxies and classes to ‘magically’ send data to your backend when you assign or access properties in an object or array. Using the same API you already know. This means you can save data like this: items[x] = {a:2,b:false}…

In plain words

JSDB is a serverless platform that lets JavaScript developers save and retrieve data using standard JavaScript syntax without writing backend communication code. It uses JavaScript proxies to automatically persist data when developers assign or access properties in objects and arrays. The platform is designed for JavaScript developers who want to simplify data storage and retrieval while maintaining familiar coding patterns.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Hi HN! I’d like to share with you my project: JSDB. Two months ago I had this thought while reviewing a PR on a web application. What if I didn’t have to write code to communicate with my backend or database? It would be fun to just use arrays and objects like you normally do in javascript and have things magically save. That weekend I hacked together something that used proxies and classes to ‘magically’ send data to your backend when you assign or access properties in an object or array. Using the same API you already know. This means you can save data like this: items[x] = {a:2,b:false} and read data like this: console.log(await items[x].a) or console.log(await items.find(o => o.a === 2)) While sharing it with some devs I started to get comments like this? “Wow that’s super simple. Is it secure?” So I started building a platform around this idea. A platform that allows javascript developers to write full stack applications, with the least overhead possible and just writing javascript. Security Rules are JS functions, files are simply assigned to an object property, triggers are JS functions etc. Everything is javascript! Check the docs: https://javascriptdb.com/docs Why? Because there are developers that can write code using arrays and objects but are not confident with backend code. I would like to lower that barrier and empower every developer that knows JS to be full stack with the least effort possible. For experienced developers, less boilerplate means less bugs and faster product cycles. I like to think that JSDB is positively influenced by this post from Rich Harris: https://svelte.dev/blog/write-less-code Aren’t there other platforms that solve this problem? Yes, there’s some great efforts. Supabase recently had a killer launch week and I have tons of respect for what they’ve accomplished. JSDB targets the javascript lovers, the devs that rather just write javascript and would like to avoid sql if possible. By design it will only work on javascript codebases. Is this production ready? No! It’s still an MVP, designed to show the idea and where I’m going. That's also why there are limited spots for the hosted preview alpha (you can always self host). If this sounds interesting check this demo: https://youtu.be/xs30II7HNBQ Docs: https://javascriptdb.com/docs Website: https://javascriptdb.com Github: https://github.com/javascriptdb Looking forward to getting candid feedback :)

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, April 2022

the whole month →
  • WA

    Hi HN community, I’m Zach, founder and CEO of Warp, and am excited to show you Warp, a fast Rust-based terminal that’s easy to use and built for teams. As of today, Warp is in public beta and any Mac user can download it. It works with bash, zsh, and fish. The terminal’s teletype-like interface has made it hard for the CLI to thrive. After 20 years of programming, I still find it hard to copy a command’s output; I always forget how to use `tar`; and I always have to relearn how to move my cursor. To fix fundamental accessibility issues, I believe we need to start innovating on the terminal,…

    Dev tools · 2022 · warp.dev

  • SS
  • Reflect629

    Fast networked note-taking

    Work · 2022 · reflect.app

  • MY

    Implement scanyourpdf.com in JavaScript. No backend servers needed.

    Life & fun · 2022 · lookscanned.io

  • Everything you need to create amazing documentation

    Dev tools · 2022

  • ngrok545

    Serve local web apps with one command

    Dev tools · 2022