WAPPI is a Node.js microservice API framework that provides a plain and practical interface for building APIs with built-in Prisma ORM integration, request validation, and automatic OpenAPI documentation. Current stable version is 3.4.8. Development is active, with regular releases. Key differentiators: zero-config Prisma integration, automatic route documentation via OpenAPI, and a plugin system for extending functionality. It simplifies building microservices by reducing boilerplate and enforcing structure.
npm install wappiVerified import paths — ran on the pinned version, not inferred.
Shows initializing WAPPI with SQLite database, defining a simple GET endpoint with a path parameter, and starting the server.
Use ESM imports or dynamic import().
Pass `prisma` option in the Wappi constructor config object.
Add `"esModuleInterop": true` to tsconfig.json compilerOptions.
Always annotate endpoints with `response({ status: 200, schema: ... })` for full documentation.Use colon syntax for path parameters.
Add `"type": "module"` in package.json or rename file to .mjs.
Run `npm install prisma` as a dependency.
Check WAPPI version; upgrade to v3+ and use addEndpoint method.