Amplication is an open-source backend development platform that generates production-ready Node.js services from your data model. Define your entities, and it generates REST API, GraphQL, auth, and database code — all fully customizable.
What Makes Amplication Special?
- Code generation — generates full backend from data model
- Fully customizable — generated code is yours to modify
- GraphQL + REST — both APIs generated automatically
- Auth built-in — JWT, roles, permissions out of the box
- Free tier — unlimited services, 3 team members
The Hidden API: Auto-Generated Backend
Define your data model in the Amplication UI or via code:
{
"entities": [{
"name": "Product",
"fields": [
{ "name": "title", "dataType": "SingleLineText", "required": true },
{ "name": "price", "dataType": "DecimalNumber", "required": true },
{ "name": "description", "dataType": "MultiLineText" },
{ "name": "category", "dataType": "Lookup", "relatedEntity": "Category" },
{ "name": "inStock", "dataType": "Boolean", "required": true }
]
}]
}
Amplication generates:
// REST endpoints (auto-generated)
GET /api/products
GET /api/products/:id
POST /api/products
PATCH /api/products/:id
DELETE /api/products/:id
// GraphQL (auto-generated)
query {
products(where: { inStock: { equals: true } }, orderBy: { price: Asc }) {
id
title
price
category { name }
}
}
mutation {
createProduct(data: { title: "Widget", price: 9.99, inStock: true }) {
id
title
}
}
Plugin System API
// Extend generated code with plugins
import { AmplicationPlugin } from '@amplication/code-gen-types';
export class MyPlugin implements AmplicationPlugin {
register() {
return {
CreateEntityService: (eventParams) => {
// Add custom logic to generated services
return {
...eventParams,
templateMapping: {
...eventParams.templateMapping,
CUSTOM_METHOD: 'async customMethod() { /* your logic */ }'
}
};
}
};
}
}
Quick Start
npx @amplication/cli init
npx @amplication/cli generate
cd server && npm install && npm start
Why Teams Choose Amplication
A startup CTO shared: "We built our MVP in 3 days instead of 3 weeks. Amplication generated the entire CRUD backend, auth, and GraphQL API. We just added business logic. When we outgrew the generated code, we ejected and owned everything."
Need rapid backend development? Email spinov001@gmail.com or check my developer tools.
How do you bootstrap backends? Amplication vs Hasura vs Supabase?
Top comments (0)