https://github.com/mrlynn/sizing-exercise-data-generator
Data Generator for December 2017 Sizing Exercise
https://github.com/mrlynn/sizing-exercise-data-generator
data generator mongodb
Last synced: about 2 months ago
JSON representation
Data Generator for December 2017 Sizing Exercise
- Host: GitHub
- URL: https://github.com/mrlynn/sizing-exercise-data-generator
- Owner: mrlynn
- License: apache-2.0
- Created: 2017-12-03T19:41:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-26T10:51:28.000Z (about 8 years ago)
- Last Synced: 2025-03-28T22:25:26.201Z (about 1 year ago)
- Topics: data, generator, mongodb
- Language: JavaScript
- Size: 592 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sizing-exercise-data-generator
Data Generator for December 2017 Sizing Exercise
## Getting Started
### Create .env with configuration settings
To get started, copy the example env-example.txt file to .env
```
cp env-example.txt .env
```
Check the following variables and tailor them for your specific test environment.
```
DBHOST=localhost
DBUSER=YOURNAME
DBPASS=YOURPASS
DBNAME=verizon
DBPORT=27017
DBAUTH=admin
COLLNAME=surveys
DEBUG=true
HOWMANY=10000
```
### Install dependencies
```
npm install
```
### Make sure you've got MongoDB running
### Give it a whirl
```
node generator.js
```
### Here's an example run
