All Projects → ashleydavis → sql-to-mongodb

ashleydavis / sql-to-mongodb

Licence: MIT license
A Node.js script to convert an SQL table to a MongoDB database.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to sql-to-mongodb

MongoDB-University
Repo for All MongoDB University Courses
Stars: ✭ 102 (+218.75%)
Mutual labels:  nosql, mongodb-database
Nosqlmap
Automated NoSQL database enumeration and web application exploitation tool.
Stars: ✭ 1,928 (+5925%)
Mutual labels:  nosql, mongodb-database
chainDB
A noSQL database based on blockchain technology
Stars: ✭ 13 (-59.37%)
Mutual labels:  nosql
book-code
The code belonging to O'Reilly's eXist book
Stars: ✭ 19 (-40.62%)
Mutual labels:  nosql
eslint-plugin-mongodb
🔎 MongoDB best practices rules for ESLint
Stars: ✭ 17 (-46.87%)
Mutual labels:  mongodb-database
RocksServer
Flexible and fast server for RocksDB
Stars: ✭ 33 (+3.13%)
Mutual labels:  nosql
maricutodb
PHP Flat File Database Manager
Stars: ✭ 23 (-28.12%)
Mutual labels:  nosql
uptasticsearch
An Elasticsearch client tailored to data science workflows.
Stars: ✭ 47 (+46.88%)
Mutual labels:  nosql
NoSE
👃 Automated schema design for NoSQL applications
Stars: ✭ 25 (-21.87%)
Mutual labels:  nosql
framework
Solu Framework is a full featured, ORM-backed, isomorphic framework using RPython, Pouch/CouchDB and React.
Stars: ✭ 20 (-37.5%)
Mutual labels:  nosql
MongoDB-3-Succinctly
This is the companion repo for MongoDB 3 Succinctly by Zoran Maksimovic. Published by Syncfusion.
Stars: ✭ 15 (-53.12%)
Mutual labels:  nosql
soosyze
🌠 Soosyze CMS is a minimalist content management system in PHP, without database to create and manage your website easily. https://soosyze.com
Stars: ✭ 39 (+21.88%)
Mutual labels:  nosql
lazlodb
Lazlo DB : A lightweight, portable and serverless NoSql database
Stars: ✭ 15 (-53.12%)
Mutual labels:  nosql
huskydb
HuskyDB - Windows Native C++ NoSQL Database
Stars: ✭ 27 (-15.62%)
Mutual labels:  nosql
Papaya
NoSQL Injection Tool to bypass login forms & extract usernames/passwords using regular expressions.
Stars: ✭ 22 (-31.25%)
Mutual labels:  nosql
pocket-cms
☁️ A pocket sized CMS written for nodejs
Stars: ✭ 13 (-59.37%)
Mutual labels:  nosql
objectbox-generator
ObjectBox Generator based on FlatBuffers schema files (fbs) for C and C++ (more languages in the future)
Stars: ✭ 30 (-6.25%)
Mutual labels:  nosql
node-crudapi-ts
CRUD boilerplate for create Node Restful API's with Express Framework and Sequelize ORM written in Typescript.
Stars: ✭ 41 (+28.13%)
Mutual labels:  nosql
2017-highload-kv
Курсовой проект 2017 года курса "Проектирование высоконагруженных систем"
Stars: ✭ 26 (-18.75%)
Mutual labels:  nosql
jimbru
A lightweight analytics server with FastAPI and deta.sh Base as DB. A glorified hit-counter of sorts 😁
Stars: ✭ 43 (+34.38%)
Mutual labels:  nosql

sql-to-mongodb

A Node.js script to convert an SQL database to a MongoDB database.

If you like this project, please star this repo and support my work

Features

  • Automatically detects the primary key for each SQL table and copys it to the MongoDB _id field.
  • Optionally remaps replaces and primary keys with MongoDB ObjectId's and remaps foreign keys.
  • Automatically copies across types correctly (eg numbers and dates).

Usage

Install

First install dependencies:

npm install

Setup

Edit config.js. Add the connection string for your SQL database. Modify the MongoDB connection string if necessary. Set the name of your target database in MongoDB.

Run

node index.js

Wait

It might take some time to replicate!

More!

Find more like this in my new book Data Wrangling with JavaScript

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].