Giter VIP home page Giter VIP logo

nitrodata_monolith's Introduction

Nitro- Data Generating Engine

Nitro is a utility for creating test data designed to make your life easier.

Nitro introspects your database and creates models for you to use, reducing the amount of boilerplate you have to write.

Nitro allows you to specify only the fields you care about, leaving other fields to be filled in automatically.

Nitro currently works with Microsoft SQL Server and APIs that support ALPS. The ALPS support is known to work with APIs written using Spring Data Rest.

To generate data:

    var categoryModel = m.Production.ProductCategory().withName('Safety');
    createAsync(categoryModel)
        .then(function (results) {
            console.log(results);
        });

Start Nitro (MSSQL):

    $ NITRO_DB_USER=<username> NITRO_DB_PASSWORD=<password> NITRO_DB_NAME=AdventureWorks2012 NITRO_MODEL_OVERRIDES=examples/adventureworks/overrides node app.js

Start Nitro (ALPS):

    $ NITRO_DB_NAME=vault NITRO_DB_USER=<username> NITRO_DB_PASSWORD=<password> NITRO_DB_SERVER=<url of alps api> NITRO_BACKEND=alps_adaptor NITRO_DEFAULT_NAMESPACE=disabled NITRO_DEFAULT_CREATE_MODE=createNew node app.js

for more information, see getting started

To install client (after starting the server):

    $ npm install localhost:3000/client.tar

or

    $ npm install <path to nitro checkout>/client

For more information: see the User Guide

Background and Motivation

Nitro was originally written for a legacy software project at NextGear Capital. This legacy software was developed against shared databases that were scrubbed versions of the production database. The schema grew in complexity to over 700 tables. The database grew in size. Nitro was then written to ease data creation for software development and integration testing. Developers and testers now have control over their data! If you have ideas of how to improve Nitro, please share them!

Contributing

Contributions are welcome and are greatly appreciated! Every little bit helps.

License

Nitro is licensed under the Apache 2.0 License

nitrodata_monolith's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.