DEV Community

Rowad
Rowad

Posted on

I created an app that generates fake data for you

I usually need fake data to test with & I end up writing code to generate it.

so I created a tool to do that for me, with react and redux I had to use redux because the state was getting complex.

you only need to define the prototype for your model and then choose the random function generator for each property.

everything here runs on the client-side, there is no backend

There is a lot of enhancements that can be done which I'll try to implement, for example

1 - Add a way to save model definitions & load them

2 - Add ways to join models and nest them

3 - maybe read the models from a data source ( DB - typeorm entity - sequelize model )

  • PR's are welcomed

link -> https://mohammedal-rowad.github.io/pollux/

issues and if you have any ideas -> https://github.com/MohammedAl-Rowad/pollux/issues

readme -> https://github.com/MohammedAl-Rowad/pollux

  • simple video as a demo:

Top comments (0)