1.2.0 • Published 2 months ago

@benhepburn/adonis-mongoose v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

AdonisJS Mongoose

This package creates a Mongoose service for use in AdonisJS applications.

Install

Install mongoose from npm:

npm install mongoose

or

pnpm install mongoose

or

yarn add mongoose

Then, install the package:

npm install @benhepburn/adonis-mongoose

or

pnpm install @benhepburn/adonis-mongoose

or

yarn add @benhepburn/adonis-mongoose

Finally, configure the package for Adonis:

node ace configure @benhepburn/adonis-mongoose

Configuration

Edit config/mongoose.ts as needed, then add the MongoDB connection URI to your .env file:

MONGODB_URI=mongodb://...
1.2.0

2 months ago

1.1.1

3 months ago

1.1.0

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago