Backend library for Node.jsThe backendjs provides a set of modules and utilities for building scalable, distributed applications with features
like API routing, database management, caching, job queues, event processing, and more.
Visit the tutorial or all docs.
const { app, api, db, logger } = require('backendjs');
app.start({ api: true });
api.app.get("/", async (context) => {
const { err, data } = await db.aget("content", { id: "index" });
context.send(200, err?.message || data?.text || "Hello, World!");
});
logger.log(`Server running on http://${api.bind}:${api.port}`, app.env);
Modular Architecture
redis, pg, ws, croner, nodemailer are bundled in the package inside the dist/ folder to minimize dependency on npm install.Database Abstraction
Caching
Job Queue & Event Processing
API Layer
AWS Integration
Logging & Monitoring
Push Notifications
Configuration Management
Security
Log watcher, notify about errors by parsing log files
Image composing posters with Sharp.js from JSON schema, supports avatars, shadows, outline fonts, wrapping, padding
Web scraping module using Puppeteer
The runtime can be configured via:
-db-pg-pool pg://localhost/dbname).bkjs.conf).BKJS_DB_POOL=pg://localhost/dbname).-db-config dynamodb)-aws-config-secrets production-worker)-aws-config-s3-file mybucket/config)-aws-config-parameters /my-config)Visit the tutorial.
Check out examples.
Visit the docs.
Vlad Seryakov
JavaScript
96.2%
Shell
3.8%
Backend library for Node.jsThe backendjs provides a set of modules and utilities for building scalable, distributed applications with features
like API routing, database management, caching, job queues, event processing, and more.
Visit the tutorial or all docs.
const { app, api, db, logger } = require('backendjs');
app.start({ api: true });
api.app.get("/", async (context) => {
const { err, data } = await db.aget("content", { id: "index" });
context.send(200, err?.message || data?.text || "Hello, World!");
});
logger.log(`Server running on http://${api.bind}:${api.port}`, app.env);
Modular Architecture
redis, pg, ws, croner, nodemailer are bundled in the package inside the dist/ folder to minimize dependency on npm install.Database Abstraction
Caching
Job Queue & Event Processing
API Layer
AWS Integration
Logging & Monitoring
Push Notifications
Configuration Management
Security
Log watcher, notify about errors by parsing log files
Image composing posters with Sharp.js from JSON schema, supports avatars, shadows, outline fonts, wrapping, padding
Web scraping module using Puppeteer
The runtime can be configured via:
-db-pg-pool pg://localhost/dbname).bkjs.conf).BKJS_DB_POOL=pg://localhost/dbname).-db-config dynamodb)-aws-config-secrets production-worker)-aws-config-s3-file mybucket/config)-aws-config-parameters /my-config)Visit the tutorial.
Check out examples.
Visit the docs.
Vlad Seryakov
JavaScript
96.2%
Shell
3.8%