A data generator for creating detailed, real-world sales data with fullfillments
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


JSON Fake Data Generator

This project generates a massive amount of JSON data which you can then pull into a database of your choice.

I use it for RethinkDB, but feel free to use it however you like.

RethinkDB Instructions

To run this, open up index.js and change the SaleCount variable to be what you want. By default, it's 100,000 records. This will generate 100,000 sales and fullfillment records which you can play with to your heart's content.

The rethinkdb-import command depends on the RethinkDB Python driver, which must be installed.

To import this into a RethinkDB database, install the modules and then run the import command (assuming you have RethinkDB installed):

npm install
node index.js
rethinkdb import -f drop/sales.json --table test.sales
rethinkdb import -f drop/fullfillments.json --table test.fullfillments

If the tables exist already, be sure to add --force

That's it, have fun.