Lad is a Rails-like Node.js framework with built-in web app server, API server, job scheduler, and proxy microservices.
Overview
Lad is a full-stack Node.js framework created by a former Express and Koa contributor. It packages opinionated microservices—a web application server, API server, job scheduler, and proxy—along with front-end tooling and back-end conventions for building production web products such as Forward Email.
The back end is Koa-based with HTTP/2 in production, MongoDB via Mongoose, Redis sessions, Passport authentication, group permissions, REST APIs with versioning, pagination, scheduled jobs through Bree, and an email templating pipeline using Nodemailer. Front-end tooling covers Pug templates, Gulp, Sass, PostCSS, Bootstrap, and related assets, with i18n across templates, emails, and API errors.
Operators scaffold projects with the lad CLI, run development tasks through npm or yarn scripts, and deploy using PM2 with documented Ansible playbooks. The stack expects Mac or Ubuntu hosts, Node.js, MongoDB, and Redis, and documents SSL, outbound mail, and optional S3 and CloudFront asset publishing.
Security-related defaults include CORS, CSRF protection, rate limiting, and structured error handling inspired by common SaaS patterns. Lad is a starting point for teams that want an integrated Node stack rather than assembling each layer separately.
Key features
- Web, API, job, and proxy servers
- Koa-based HTTP/2 production stack
- MongoDB and Redis integration
- Passport authentication
- Built-in i18n and email templates
- Cron job scheduler via Bree
- Pug, Sass, and Bootstrap front end
- PM2 and Ansible deployment guides
Use cases
- Full-stack Node web applications
- Email-centric SaaS products
- REST APIs with session auth
- Multilingual customer-facing sites
- Teams wanting integrated microservices