dpd-importer

import mongo collections into your deployd app

Usage no npm install needed!

<script type="module">
  import dpdImporter from 'https://cdn.skypack.dev/dpd-importer';
</script>

README

dpd-importer

Create deployd collections from existing mongo collections.

usage

Create a project. Then install the dpd-importer module.

dpd create my-app
cd my-app
mkdir node_modules
npm install dpd-importer
dpd -d

Click the green new resource and choose Importer.

Give it the default name "/importer". Open it by clicking "IMPOTER" in the left menu.

Enter the information of your old MongoDB server. Clicking on Start Import will start creating deployd collections from data in the provided db by streaming data directly from the old db into your new deployd db.