JordanMartin / data-generator

Générateur de données aléatoire

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data generator

Build & Tests

Random Data generator in json, yaml, xml, sql, csv format or customized by template

Getting started

Generate data using WebUI (module web-ui exposed by the api module)

  • Download the latest release
  • Execute data-generator-api-x.x.x-runner.jar
  • Try the UI and load samples to start faster

screenshot

Generate data programmatically (module core)

  • Include the latest data-generator-core-x.x.x.jar module
  • Use the module in your app
// Define your model
ObjectProvider provider = new ObjectProvider()
        .field("id", new IntAutoIncrement())
        .field("name", new Sample("Name.firstName"));

// Output JSON to stdout
ObjectOutput.from(provider)
        .toJson().setPretty(true)
        .writeMany(System.out, 2);

See data-generator-core

Modules

About

Générateur de données aléatoire

License:GNU General Public License v3.0


Languages

Language:Java 74.3%Language:TypeScript 14.1%Language:HTML 6.6%Language:SCSS 3.8%Language:JavaScript 0.7%Language:ANTLR 0.4%Language:Batchfile 0.1%Language:Dockerfile 0.1%Language:Shell 0.0%