Skip to content

The script that feeds all OCULUS databases with mocked data. All the data is valid and models real-life scenarios.

Notifications You must be signed in to change notification settings

OCULUS-project/oculus-db-mock-feeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oculus-db-mock-feeder

The script that feeds all OCULUS databases with mocked data. All the data is valid, models real-life scenarios and is consistent between collections.

Additionaly the file scripts/models.ts contains interfaces for all data models used in the system.

In scripts directory there are bash scripts for provisioning filesytem data.

In data directory there are static files like images for images-db or jsons for mocking mongo.

build & run

to install all dependencies type: npm install

to build and run the script type: npm start <mongo-host> <mongo-port>

to run without new build type: npm run go <mongo-host> <mongo-port>

example: npm start 192.168.1.251 2500

About

The script that feeds all OCULUS databases with mocked data. All the data is valid and models real-life scenarios.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published