Files
nest/sample/06-mongoose
dependabot[bot] 55cc5626c4 chore(deps): bump express and @nestjs/platform-express
Bumps [express](https://github.com/expressjs/express) to 4.19.2 and updates ancestor dependency [@nestjs/platform-express](https://github.com/nestjs/nest/tree/HEAD/packages/platform-express). These dependencies need to be updated together.


Updates `express` from 4.18.2 to 4.19.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

Updates `@nestjs/platform-express` from 10.3.2 to 10.3.8
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.3.8/packages/platform-express)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
- dependency-name: "@nestjs/platform-express"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 06:46:00 +00:00
..
2019-09-16 14:26:41 -07:00

Mongoose sample

Installation

npm install

Running

This example requires docker or a local mongodb installation. If using a local mongodb, see app.module.ts for connection options, and make sure there are matching options for the mongodb installation and the source code.

Docker

There is a docker-compose.yml file for starting Docker.

docker-compose up

After running the sample, you can stop the Docker container with

docker-compose down

Run the sample

Then, run Nest as usual:

npm run start