Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        


Nest Logo

[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).