0.0.20 • Published 5 months ago

@sftech/nestjs-db v0.0.20

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

nestjs-db

This library provides basic database functionality for the @sftech/nestjs-core library. It is a wrapper around the TypeORM library and provides a simple way to connect to different databases. This library actually supports MySQL and SQLite. It also provides a RESTApi for CRUD-Operations towards the registered entities/models.

Installation

npm install @sftech/nestjs-core @sftech/nestjs-db

Usage

To use the library in your nestjs application, you need to import the NestJsDbModule in your app.module.ts:

import { NestjsDbModule, DatabaseOptionsMapper } from '@sftech/nestjs-db';

@Module({
	imports: [NestJsCoreModule.register(), NestjsDbModule.register(DatabaseOptionsMapper.map())],
	providers: [],
	...
})
export class AppModule {
}
0.0.20

5 months ago

0.0.19

5 months ago

0.0.18

5 months ago

0.0.17

6 months ago

0.0.16

6 months ago

0.0.15

6 months ago

0.0.14

6 months ago

0.0.13

6 months ago

0.0.12

6 months ago

0.0.11

6 months ago

0.0.10

6 months ago

0.0.9

6 months ago

0.0.8

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1-alpha.0

6 months ago