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

https://github.com/bluediu/teslo-nestjs

Testing App for Nest.JS
https://github.com/bluediu/teslo-nestjs

docker nestjs postgresql rest-api

Last synced: 2 months ago
JSON representation

Testing App for Nest.JS

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

A progressive Node.js framework for building efficient and scalable server-side applications.



NPM Version
Package License


## Description

[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Project setup

1. Install dependencies

```bash
$ yarn install
```

2. Create a environment configuration file:

```bash
touch .env
```

3. Populate the `.env` file with the required environment variables. Ensure you use secure and appropriate values for the environment.

4. Start Database Engine

```bash
$ docker-compose up -d
```

## Rebuild database (development)

`localhost:/api/seed`

## Compile and run the project

```bash
# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod
```

## Run tests

```bash
# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov
```

## License

Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).