.. | ||
dto | ||
entities | ||
README.md | ||
users.controller.ts | ||
users.module.ts | ||
users.repository.ts | ||
users.service.ts |
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.