boilerplate-nestjs-api-crud/src/users
2023-04-20 23:18:31 +08:00
..
dto Add Department module for relationship 2023-04-17 23:53:14 +08:00
entities Add Department module for relationship 2023-04-17 23:53:14 +08:00
README.md temp commit, not functioning 2023-04-20 23:18:31 +08:00
users.controller.ts Initial commit 2023-04-17 10:20:39 +08:00
users.module.ts Initial commit 2023-04-17 10:20:39 +08:00
users.repository.ts Initial commit 2023-04-17 10:20:39 +08:00
users.service.ts Initial commit 2023-04-17 10:20:39 +08:00

User Module

User module use Repository class to handle the 'database' representation.

The Respository class uses a map object (in-memory) as a database. It is not persistence storage.

I am trying to apply the Repository pattern concept here and abstract the data layer out of the business logic.