{"library":"ndx-server","title":"ndx-server","description":"A lightweight, modular server framework built on Express and Alasql, providing a schemaless SQL database that treats JavaScript objects as first-class citizens. Version 0.18.1 is the latest stable release, with no regular update cadence. It eliminates the need for a dedicated database server, persists to S3 with minimal reads/writes, and uses sessionless tokens that survive server restarts. Key differentiators include auto-loading of modules from startup, services, and controllers folders, built-in authentication and token generation, and a plugin ecosystem for auth, sockets, and database backups. Designed for rapid prototyping and small-to-medium scale applications, it also supports scaling via ndx-sync.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install ndx-server"],"cli":null},"imports":["import ndx from 'ndx-server';","const ndx = require('ndx-server');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const ndx = require('ndx-server')\n  .config({\n    database: 'myapp',\n    tables: ['users', 'tasks'],\n    port: 3000\n  })\n  .controller(function(ndx) {\n    ndx.app.get('/api/hello', function(req, res) {\n      res.json({ message: 'Hello from ndx-server!' });\n    });\n  })\n  .start();\n\nconsole.log('Server running on port 3000');","lang":"javascript","description":"Creates a minimal ndx-server instance with one route, using in-memory database with two tables.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}