Skip to content

Commit

Permalink
docs: πŸ“ Update mongoose(infrastructure) description
Browse files Browse the repository at this point in the history
  • Loading branch information
zhumeisongsong committed Nov 15, 2024
1 parent 48f0beb commit 75fdd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ You can use `npx nx list` to get a list of installed plugins. Then, run `npx nx
| usecase(application) | Define business use cases and encapsulate business logic. |
| entity(domain) | Define core business entities and business rules.<br/> Maintain entity independence from database and framework. |
| repository(domain) | Interfaces (or abstract classes), which define methods for manipulating data without concern for specific database implementations. <br/>By defining this interface, we can decouple database access: the specific details of data access will be done by implementation classes, such as specific implementations using tools like Mongoose, TypeORM, Prisma, and so on. |
| mongoose(infrastructure) | Mongoose Schema definition. <br/> Implement the xxxRepository interface |
| mongoose(infrastructure) | Implements the repository interfaces defined in the domain layer using Mongoose as the ODM (Object Document Mapper). <br/>Includes Mongoose Schema definitions, database connection management, and concrete implementations of repository interfaces (e.g., MongooseUserRepository). |

## Useful links

Expand Down

0 comments on commit 75fdd65

Please sign in to comment.