@amplication/plugin-db-mongo
Advanced tools
Use a Mongo database in a service generated by Amplication
Weekly downloads
Readme
Use a Mongo DB database in the service generated by Amplication.
This plugin adds the required code to use Mongo database in the service generated by Amplication. It updates the following parts:
schema.prisma
filedocker-compose.yml
docker-compose-db.yml
.env
The plugin uses the parameters configured on the database tab on the service settings page
This plugin integrates with the all default tasks and scripts used by the generated service:
"seed": "ts-node scripts/seed.ts",
"db:clean": "ts-node scripts/clean.ts",
"prisma:generate": "prisma generate",
"prisma:init": "prisma init",
"prisma:pull":"prisma db pull",
"prisma:push":" prisma db push",
"docker:db": "docker-compose -f docker-compose.db.yml up -d",
"docker:build": "docker build .",
"compose:up": "docker-compose up -d",
"compose:down": "docker-compose down --volumes"
FAQs
Use a Mongo database in a service generated by Amplication
The npm package @amplication/plugin-db-mongo receives a total of 156 weekly downloads. As such, @amplication/plugin-db-mongo popularity was classified as not popular.
We found that @amplication/plugin-db-mongo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.