@carbonteq/hexapp
v0.20.2
Published
## Installation
Downloads
88
Keywords
Readme
Hexagonal Architecture boilerplate
Installation
pnpm i @carbonteq/hexappnpm i @carbonteq/hexappyarn add @carbonteq/hexappUsage
Entity Declaration
import { BaseEntity } from "@carbonteq/hexapp/domain/base.entity.js";
class User extends BaseEntity {
constructor(readonly name: string) {
super();
}
serialize() {
return {
...super._serialize(),
name: this.name,
};
}
}