Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/felipe-bp/nestjs-knex

Knex.js module for Nest framework (node.js) ⚙
https://github.com/felipe-bp/nestjs-knex

knex-js knex-query-builder nest nestjs nodejs typescript

Last synced: 25 days ago
JSON representation

Knex.js module for Nest framework (node.js) ⚙

Awesome Lists containing this project

README

        


Nest Logo


Easy peasy way to integrate Nestjs and Knex.js! 🚀

## Why?

We love [Nestjs](https://nestjs.com/) framework and [Knex.js](http://knexjs.org/) SQL Builder, so, I decided to create this package to abstract the use of Knex.js with Nestjs, which uses TypeScript.

## Installation

To install this generated project:

```bash
$ npm install nestjs-knexjs knex
```

Install the expected client library for your database:

```bash
$ npm install pg
$ npm install sqlite3
$ npm install mysql
$ npm install mysql2
$ npm install oracledb
$ npm install mssql
```

(or yarn equivalent)

## Usage

Check out the [examples](./examples/) folder.

## Contributing

All contributions are welcome. Use the pull request as a way to contribute to the evolution of the package. My intention is over time to add pipelines with github actions as a way to facilitate contributions.

### Contribution Guidelines

This package is configured with [commitlint](https://github.com/conventional-changelog/commitlint), so, to contribute you have to know about the [rules](https://www.conventionalcommits.org/en/v1.0.0/) of commitlint

## Author

- [Felipe Bueno](https://github.com/Felipe-BP)