Example with NestJS framework + RethinkDB basic usage with TypeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
src
test
.gitignore
.nestcli.json
.prettierrc
README.md
nodemon.json
package-lock.json
package.json
tsconfig.json
tslint.json
webpack.config.js

README.md

nest-rethink-db

Description

Simple example using NestJS framework + RethinkDB without any ORM.

The project heavily relies in Dependency Inversion pattern using NestJS providers.

TypeScript & Promises

Requirements

It requires a RethinkDB instance accesible via localhost at its custom port 28015. It's easy to run it with Docker:

docker run --name some-rethink -v "$PWD:/data" -d -p 8081:8080 -p 28015:28015 -p 29015:29015 rethinkdb

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov