https://github.com/bmascat/data-generator

A faker.js wrapper for mock data generation and export in different formats (CSV, JSON and SQL).

https://github.com/bmascat/data-generator

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.9%) to scientific vocabulary

Keywords

faker fakerjs mock next-js nextjs shadcn shadcn-ui tailwind tailwindcss
Last synced: 5 months ago · JSON representation

Repository

A faker.js wrapper for mock data generation and export in different formats (CSV, JSON and SQL).

Basic Info
Statistics
  • Stars: 7
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
faker fakerjs mock next-js nextjs shadcn shadcn-ui tailwind tailwindcss
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

Data Generator

Data Generator App

A Next.js application built with Shadcn and Tailwind CSS, designed as a wrapper for Faker.js to generate custom synthetic datasets. This app enables users to define datasets with multiple columns, reorder columns using drag-and-drop, and export data in various formats.

Features

  • Customizable Datasets: Create datasets with multiple columns and customizable data types.
  • Drag-and-Drop Column Reordering: Organize your dataset by rearranging columns to your preference.
  • Export in Multiple Formats: Save generated datasets as CSV, JSON, or SQL files for easy integration into other projects.
  • Built with Next.js and Tailwind CSS: Ensures a responsive and modern UI experience.
  • Powered by Faker.js: Generates realistic, randomly generated data for various data fields.

Getting Started

Prerequisites

  • Node.js and npm installed on your machine.

Installation

  1. Clone the repository:

    bash git clone https://github.com/BreisOne/data-generator.git cd data-generator

  2. Install dependencies:

    bash npm install

  3. Start the development server:

    bash npm run dev

  4. Open the app in your browser at http://localhost:3000.

Usage

  1. Select Columns: Choose the data fields (e.g., name, address, date) to include in your dataset.
  2. Reorder Columns: Use drag-and-drop functionality to reorder columns as needed.
  3. Generate Data: Define the number of rows and generate data instantly.
  4. Export: Download the generated dataset in CSV, JSON, or SQL format.

Configuration

This app wraps Faker.js, so main Faker.js-supported data types are available. Customize fields in the UI to select the type of data to generate and give a name to each column.

Contributing

Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/YourFeature)
  3. Commit your Changes (git commit -m 'Add Your Feature')
  4. Push to the Branch (git push origin feature/YourFeature)
  5. Open a Pull Request

License

This project is licensed under the AGPL-3.0 License. See the LICENSE file for details.

Contact

For questions or suggestions, feel free to open an issue or contact BreisOne.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Owner

  • Name: Brais
  • Login: bmascat
  • Kind: user

Data science, bioinformatics and software development

GitHub Events

Total
  • Watch event: 3
  • Push event: 7
Last Year
  • Watch event: 3
  • Push event: 7

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 16
  • Total Committers: 2
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.063
Past Year
  • Commits: 16
  • Committers: 2
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.063
Top Committers
Name Email Commits
Brais b****t@g****m 15
Brais 4****e 1

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

package-lock.json npm
  • 430 dependencies
package.json npm
  • @types/node ^20 development
  • @types/react ^18 development
  • @types/react-beautiful-dnd ^13.1.8 development
  • @types/react-dom ^18 development
  • eslint ^8 development
  • eslint-config-next 14.2.4 development
  • postcss ^8 development
  • tailwindcss ^3.4.1 development
  • typescript ^5 development
  • @faker-js/faker ^8.4.1
  • @next/third-parties ^14.2.5
  • @radix-ui/react-accordion ^1.2.0
  • @radix-ui/react-dialog ^1.1.1
  • @radix-ui/react-label ^2.1.0
  • @radix-ui/react-select ^2.1.1
  • @radix-ui/react-slot ^1.1.0
  • class-variance-authority ^0.7.0
  • clsx ^2.1.1
  • data-generator file:
  • faker-js ^1.0.0
  • lucide-react ^0.400.0
  • next ^14.2.5
  • next-themes ^0.3.0
  • react ^18
  • react-beautiful-dnd ^13.1.1
  • react-dom ^18
  • tailwind-merge ^2.3.0
  • tailwindcss-animate ^1.0.7