@punks/backend-entity-manager
v0.0.471
Published
This library contains the entity manager of the Punks backend.
Downloads
2,736
Keywords
Readme
Punks Entity Manager package
This library contains the entity manager of the Punks backend.
Installation
npm install @punks/backend-entity-manager @punks/backend-core class-transformer class-validator
Add authentication
npm install express async_hooks bcrypt @nestjs/platform-express @nestjs/jwt
Supported ORMs:
npm install typeorm
Supported email providers:
mpm install @sendgrid/mail
npm install @aws-sdk/client-ses
Supported bucket providers:
npm install @aws-sdk/client-s3 @aws-sdk/s3-request-presigner
Supported platforms:
# NestJS with TypeORM
npm install @nestjs/core @nestjs/common @nestjs/event-emitter @nestjs/typeorm @nestjs/swagger
npm install -D pg-mem supertest
Library structure
├─ extensions
| |
| └─ plugins
| |
| └─ email: email plugin
|
├─ platforms
| |
| └─ nestjs: nestjs core module
|
├─ actions: entity manager actions
| |
| ├── commands
| |
| └── queries
|
├─ ioc: dependency injection
|
└─ abstractions: common abstractions