sql2nosql
Damru — Analyze PostgreSQL schemas and generate NoSQL (MongoDB) design and migration scripts.
Quick start
- Clone and installbash
git clone https://github.com/usedamru/sql2nosql.git cd sql2nosql yarn install yarn build - Configure — Copy
sql2nosql.config.example.jsontosql2nosql.config.jsonand set your Postgresconnectionand (optional)mongodb/migrationoptions. - Analyze your Postgres schema:bash
yarn analyze # or: npx sql2nosql analyze - Run migrations (Postgres → MongoDB, optional):bash
cd packages/cli && node output/scripts/run-all.migrate.js
Documentation
- Configuration — How to configure the project (
sql2nosql.config.json), including LLM options and advantages - Run migrations — How to run migration scripts with Node
- Generator checklist — Migration script generator options and config