Authentication
JWT auth behind a standard interface. Add it with one command, protect a route with one decorator.
auth-jwtAntelope Framework One model, across the ecosystem
Database, auth, payments, email: plug them in as modules. When the client switches from Stripe to Mollie, you edit antelope.config.ts, not every file that charges a card. Open-source TypeScript framework for Node.js.
npm install -g @antelopejs/core Need an admin panel for your database? Start with DMS →
No lock-in, by design
Your modules send an email, charge a card or query a table through a typed interface. A provider implements it, and your app picks which one. Changing it never ripples into your business code. Architects will recognise ports and adapters; everyone else just gets fewer rewrites.
Providers · click to swap
export default defineConfig({
modules: {
database: {
source: { type: "package",
package: "@example/database-mongodb" },
},
payment: {
source: { type: "package",
package: "@example/payment-stripe" },
},
email: {
source: { type: "package",
package: "@example/email-brevo" },
},
storage: {
source: { type: "package",
package: "@example/file-storage-local" },
},
},
});
import { insert } from
"@example/interface-database";
import { upload } from
"@example/interface-file-storage";
import { charge } from
"@example/interface-payment";
import { sendEmail } from
"@example/interface-email";
export async function place(order: Order) {
await insert("orders", order);
await charge({
amount: order.total,
reference: order.id,
});
await upload("invoices", order.invoice);
await sendEmail({
to: order.email,
subject: "Order confirmed",
});
}
antelope.config.ts loads @example/database-mongodb binds it to interface-database insert(order) reaches MongoDBThe framework, in code
Follow one CRM module from its interface to its table, its HTTP routes and its auth, then run it inside the server you already have. Every snippet uses the real AntelopeJS interfaces and decorators.
// interface-email/index.ts: the port
import { InterfaceFunction } from "@antelopejs/interface-core";
export const sendEmail =
InterfaceFunction<(to: string, subject: string) => Promise<void>>();
// modules/email-smtp/index.ts: one provider among many
import { ImplementInterface } from "@antelopejs/interface-core";
import * as smtp from "./smtp";
export async function construct() {
await ImplementInterface(await import("@example/interface-email"), smtp);
}
// modules/crm/welcome.ts: the business code
import { sendEmail } from "@example/interface-email";
await sendEmail(contact.email, "Welcome aboard");
Plug in the rest
Database, API, auth, payments, cache. Each one is an interface package with providers you install in one command. Spend your week on your product, not on plumbing.
JWT auth behind a standard interface. Add it with one command, protect a route with one decorator.
auth-jwtWrite queries once against the database-agnostic Database interface, then run them on MongoDB or RethinkDB.
mongodb rethinkdbTyped HTTP controllers with decorators. Share the types between your modules for free.
interface-apiKeep a critical provider in-house. Mix local folders, npm packages and Git sources in the same app.
local package gitLess plumbing, more implementation
ajs scaffolds your app, wires its modules, reloads them as you code, runs their tests and builds for production. The machinery is handled; you write what makes your product different.
ajs project modules update ajs project modules remove ajs project logging set ajs config set ajs plugins ajs update Every command in the cheat sheetRun it anywhere
An AntelopeJS app is a Node.js project. Run it on your own servers, or push it to AntelopeJS Cloud, which reads your antelope.config.ts to provision what it needs.
Self-host
Your infra, your rules
AntelopeJS Cloud
Managed hosting
Your AntelopeJS app
Modules, interfaces, providers
Framework · open sourceYour next module
Install the CLI, build your first module and plug in the providers you need.
Need a back office on top? DMS runs on AntelopeJS and connects to your database in minutes. Try DMS →
Framework & DMS · Apache 2.0 · Node.js · TypeScript · Cloud