1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-19 13:19:42 +02:00
codex.docs/bin/db-converter
Nikita Melnikov 55b4b3ee61
🤩MongoDB support 🤩 (#272)
* implement configuration through YAML

* remove rcparser

* use password from appConfig

* update docker configs

* fix dockerignore

* implement mongodb driver

* update eslint packages

* fix bugs

* refactor code for grouping by parent

* fix yet another bug

* use unique symbol to the EntityId type

* fix more bugs

* implement db converter

* fix bug with parent selector

* fix eslint

* db-converter refactoring

* create cli program for db-converter

* add readme and gitignore

* update development docs

* update development docs and default config

* add docs about converter

* add src/test to docker ignore

* move database code from utils

* improve docs

* eslint fix

* add more docs

* fix docs

* remove env_file from docker-compose

* implement duplicate detection in db-converter

* use published version of the config-loader

* fix bug

* Update DEVELOPMENT.md

Co-authored-by: Ilya Maroz <37909603+ilyamore88@users.noreply.github.com>

* fix bugs

* fix next/prev buttons

* fix more bugs

* fix sorting

Co-authored-by: Ilya Maroz <37909603+ilyamore88@users.noreply.github.com>
2022-10-03 20:23:59 +08:00
..
.yarn 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
.eslintrc 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
.gitignore 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
.pnp.cjs 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
.pnp.loader.mjs 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
.yarnrc.yml 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
index.js 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
lib.js 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
package.json 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
program.js 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
README.md 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00
yarn.lock 🤩MongoDB support 🤩 (#272) 2022-10-03 20:23:59 +08:00

db-converter

Converts a database from local to MongoDB. It can be useful for migrating from a local database to MongoDB.

Usage

node index.js --db-path .db --mongodb-url mongodb://localhost:27017