Skip to content

mohsen12999/generate-mock-data

Repository files navigation

Generate Mock Data

A simple project designed to create mock datasets for testing, prototyping, or demonstrating data-driven applications. With customizable options, this tool allows you to generate realistic datasets quickly and efficiently.

Most of ideas com from FakerPHP and Mackoroo.

click you can see live demo.

Features

  • Customizable Data Schema: Define your dataset structure and data types with ease.
  • Multiple Data Types: Supports various fields like integers, floats, strings, dates, and more.
  • Randomized but Realistic: Generates data with realistic constraints and patterns.
  • CSV Export: Save generated datasets to CSV for easy integration.
  • Extensible: Modify or extend the code to suit your specific use case.

Work on Project

  1. Clone the Project
git clone https://github.com/mohsen12999/generate-mock-data.git
cd generate-mock-data
  1. add dependency
npm install # or yarn install
  1. run project
npm run dev # or yarn dev

TODO

  • live version
  • simple ui
  • save in file
  • show output in textarea
  • make sql data
  • add more field button
  • csv data
  • sql command for create table
  • make id for rows
  • add range for data
  • add option for empty
  • pwa for use as an app
  • testing with github action
  • add date column
  • add boolean/flag
  • move/rearrange column

Data TYpe

  • done types
    • name
    • family
    • website
    • email
    • address
    • country
    • city
    • number
  • remain type
    • phone
    • price
    • gender

Further Enhancements

  • Add Badges: Include GitHub badges (e.g., build status, license, Python version compatibility) for a professional appearance.
  • Include Screenshots: Add images or GIFs to visually demonstrate usage and outputs.
  • Improve Examples: Showcase advanced use cases, such as nested schemas or integrations with other tools.
  • Provide Documentation: Link to external documentation if the project grows.
  • Add a Logo: Create a simple logo to give the project a unique identity.

Contributing

Contributions are welcome! Feel free to:

  • Submit bug reports or feature requests.
  • Fork the repository and submit pull requests for improvements.

License

This project is licensed under the GNU General Public License v3.0.

Contact

If you have any questions or feedback, please open an issue on the GitHub repository.

About

a simple project for generate sample data to use in databases for test

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages