Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muthuri-dev/abstract-repository-pattern
https://github.com/muthuri-dev/abstract-repository-pattern
apollo-server-express graphql nestjs-backend prisma-orm repository-pattern
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/muthuri-dev/abstract-repository-pattern
- Owner: muthuri-dev
- Created: 2024-07-23T11:21:45.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-23T11:28:05.000Z (6 months ago)
- Last Synced: 2024-07-23T13:35:28.774Z (6 months ago)
- Topics: apollo-server-express, graphql, nestjs-backend, prisma-orm, repository-pattern
- Language: TypeScript
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
Repository pattern using nestjs, prisma and graphql.
## Description
Abstract repository pattern for decoupling data access logic from business logic. This pattern is useful for testing, as it allows you to mock the repository and test the business logic in isolation. This pattern is also useful for code organization, as it allows you to separate the data access code from the business logic code.
## Installation
```bash
$ npm install
```## Running the app
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## License
Nest is [MIT licensed](LICENSE).