boilerplate-nestjs-api-crud/src/mysqlcompany/contract
2023-04-22 22:12:32 +08:00
..
dto Add nestjs-paginate and more relationship 2023-04-22 22:12:32 +08:00
entities Add nestjs-paginate and more relationship 2023-04-22 22:12:32 +08:00
contracts.controller.ts Add nestjs-paginate and more relationship 2023-04-22 22:12:32 +08:00
contracts.module.ts Add nestjs-paginate and more relationship 2023-04-22 22:12:32 +08:00
contracts.service.ts Add nestjs-paginate and more relationship 2023-04-22 22:12:32 +08:00
README.md Add nestjs-paginate and more relationship 2023-04-22 22:12:32 +08:00

Contract Module

  • This module demonstrates using:
    • CRUD
    • TypeORM: MySQL
    • TypeORM Repository
    • No QueryBuilder
    • TypeOrmModule.forFeature & TypeOrmModule.forRoot{ autoLoadEntities: true }
  • The Entities
    • DB and Web-API entities are shared