Loading…
Loading…
Upload your product requirements document and Archiet generates a NestJS application with JWT authentication guards, TypeORM entities and migrations, workspace-scoped multi-tenancy, Swagger/OpenAPI 3.1 documentation, and a typed API client for your Next.js frontend — zero boilerplate written by hand.
NestJS is the enterprise choice for Node.js backends: TypeScript-first with decorator-based dependency injection, modular architecture that scales across teams, built-in support for guards (authentication/authorisation), interceptors, pipes (validation), and a thriving ecosystem. It generates Swagger documentation natively and follows the same patterns used in Angular, making it familiar to enterprise frontend teams. For B2B SaaS, fintech, and enterprise applications, NestJS provides the structure that Express.js lacks without the complexity overhead of enterprise Java.
The generated codebase ships with: NestJS application with AppModule, AuthModule, UsersModule, WorkspacesModule, and one module per entity in your data model. JWT authentication with Passport.js, HttpOnly cookie transport, and a JwtAuthGuard applied to all protected routes. TypeORM entities with auto-generated migrations, workspace_id foreign key on every tenant-scoped entity, and Row-Level Security policies in PostgreSQL. ConfigModule for environment variable management, no hardcoded secrets. BullMQ for background job queues. Resend transactional email integration. Swagger/OpenAPI 3.1 auto-generated from decorators. Jest test suite with e2e tests for auth and CRUD flows.
The generation process: upload your PRD (PDF or paste text), Archiet parses it to extract entities, screens, user roles, business rules, integrations, and compliance requirements. The extracted model is reviewed in a structured editor — you can adjust entity names, add fields, and change relationships. Click Generate and receive a ZIP with the full NestJS + Next.js stack. Run docker compose up and the application is running locally with a seeded admin account. The entire process — PRD to running application — takes under 10 minutes for most products.
B2B SaaS applications need workspace isolation. The generated NestJS code enforces it at three layers: every TypeORM query includes a workspace_id condition via a custom FindManyOptions helper, a WorkspaceGuard validates the workspace from the JWT token on every request, and PostgreSQL Row-Level Security policies enforce isolation at the database level. This is not a convention you need to remember to follow — it is structural enforcement that fails loudly when violated.
The generated NestJS application and the generated Next.js frontend share a type contract. DTOs (Data Transfer Objects) in NestJS are exported via the OpenAPI spec, which the Next.js frontend imports as a typed API client. You get TypeScript autocomplete on every API call in the frontend, compile-time errors when the backend changes a field name, and a single source of truth for the data shape. No hand-maintained type stubs required.
Yes. Export your PRD from Notion or Google Docs as a PDF or copy the text and paste it into the Archiet PRD input. The extractor handles unstructured prose, bullet-point requirements, user story format, and structured specification documents. The more detail in your PRD, the more complete the generated application.
Yes. The generated tsconfig.json enables strict mode: noImplicitAny, strictNullChecks, strictFunctionTypes, and strictPropertyInitialization. TypeORM entities are typed with @Column({ nullable: false }) defaults matching the schema. DTOs use class-validator decorators for runtime validation.
PostgreSQL is the default. TypeORM is configured with the pg driver. The generated docker-compose.yml includes a postgres service with the correct credentials matching .env.example. Alembic (Python) is not used — TypeORM migrations handle the schema. Migrations are generated and run via npm run migration:run.
Yes. The genome (your architecture model) is saved to your account. You can switch the stack selector to FastAPI, Django, Flask, Go, or any of the nine supported stacks and regenerate from the same genome. Your entities, workflows, and business rules are preserved; only the code framework changes.
The generated application includes a Dockerfile and docker-compose.yml. It deploys to any Docker-compatible platform: Railway, Render, AWS ECS, Azure Container Apps, or a bare VM. The Next.js frontend deploys to Vercel separately via the included vercel.json. Environment variables are documented in .env.example.
Describe your product once. Archiet generates a complete Flask + Next.js application — auth with httpOnly cookies, RBAC, multi-tenant workspace isolation, Alembic migrations, Celery workers, and a full OpenAPI 3.1 spec — without writing a single line of boilerplate.
Describe your product requirements and Archiet generates a complete FastAPI + Next.js application: Pydantic v2 request/response models, SQLAlchemy 2 ORM with async support, Alembic migrations, JWT auth, workspace isolation, Celery workers, and auto-generated OpenAPI 3.1 documentation.
Import your ArchiMate 3.2 model from Enterprise Architect, Archi, or draw.io. Archiet generates a production-ready application in your chosen stack — with auth, RBAC, multi-tenancy, migrations, and compliance documentation — directly from the formal architecture. No gap between design and code.
free plan. No credit card required. Generate your first compliant architecture blueprint in under 10 minutes.