ConfigsMay 3, 2026·3 min read

Amplication — Open-Source Backend Code Generation Platform

Amplication auto-generates production-ready backend code from a visual data model, producing Node.js services with REST and GraphQL APIs, authentication, and database integration out of the box.

Introduction

Building a backend from scratch involves repetitive boilerplate: data models, CRUD endpoints, authentication, authorization, and database migrations. Amplication eliminates that repetition by generating a fully functional Node.js backend from a visual data model, while keeping the generated code human-readable and fully customizable.

What Amplication Does

  • Generates a complete Node.js/NestJS backend from a visual entity builder
  • Produces both REST and GraphQL APIs for every data model automatically
  • Scaffolds role-based access control and JWT authentication
  • Creates Prisma schema and database migrations tied to your data model
  • Outputs clean, readable TypeScript that you own and can extend freely

Architecture Overview

Amplication runs as a web application where you define entities and their fields through a visual interface. When you commit changes, the code generation engine produces a NestJS application with Prisma ORM integration, Docker configuration, and a structured folder layout following best practices. The generated code is pushed to a Git repository you control, so you can modify it, add custom logic, and merge future regenerations. Plugins extend the generation pipeline to add features like message brokers, caching layers, or alternative auth providers.

Self-Hosting & Configuration

  • Deploy the Amplication server using the official Docker Compose setup
  • Connect a PostgreSQL database for Amplication's own metadata storage
  • Link a Git provider (GitHub, Bitbucket, or GitLab) to push generated code
  • Configure environment variables for auth secrets, database URLs, and SMTP
  • Install community plugins to customize the generated output (Kafka, Redis, etc.)

Key Features

  • Generates human-readable TypeScript code that developers can modify without lock-in
  • Plugin system allows customizing every aspect of the generated output
  • Built-in role-based access control with fine-grained entity-level permissions
  • Git-based workflow ensures generated code integrates into existing CI/CD pipelines
  • Supports both monorepo and polyrepo structures for microservice architectures

Comparison with Similar Tools

  • Hasura — Instant GraphQL on existing databases; Amplication generates a full backend codebase you own
  • Strapi — Headless CMS with content modeling; Amplication targets general backend services, not just content
  • Prisma — ORM layer only; Amplication generates the entire API layer on top of Prisma
  • LoopBack — API framework requiring manual coding; Amplication generates the boilerplate automatically
  • Supabase — Managed BaaS with vendor coupling; Amplication produces standalone code you deploy anywhere

FAQ

Q: Can I customize the generated code without losing changes on regeneration? A: Yes. Amplication uses a smart merge strategy and custom code layers so your modifications are preserved across regenerations.

Q: What databases does Amplication support? A: PostgreSQL and MySQL are supported through Prisma. MongoDB support is available via a community plugin.

Q: Is Amplication suitable for production workloads? A: Yes. The generated NestJS application follows production patterns including health checks, logging, and Docker containerization.

Q: Can I use Amplication for microservices? A: Yes. You can create multiple services in one project, each generating its own independent codebase with separate database schemas.

Sources

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets