Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ilovepixelart/ts-express-nest

Nest.js express starter
https://github.com/ilovepixelart/ts-express-nest

Last synced: 30 days ago
JSON representation

Nest.js express starter

Awesome Lists containing this project

README

        

# Nest + Express.js + TypeScript 5

* [nest](https://github.com/nestjs/nest) - nest framework
* [mongoose](https://mongoosejs.com/) - mongodb object modeling
* ~~[ts-migrate-mongoose](https://github.com/ilovepixelart/ts-migrate-mongoose) - mongoose migration framework~~ 🚧
* ~~[ts-patch-mongoose](https://github.com/ilovepixelart/ts-migrate-mongoose) - mongoose patch history & events~~ 🚧
* [ts-cache-mongoose](https://github.com/ilovepixelart/ts-cache-mongoose) - mongoose cache (in-memory, redis) ✅
* [typescript 5](https://www.typescriptlang.org/)

You can run it using docker:

```bash
docker compose build
docker compose up
```

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

## Installation

```bash
npm install
```

## Running the app

```bash
# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod
```

## Test

```bash
# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov
```