Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muslemomar/db-filler

🪄 a CLI to automatically fill a database with random data
https://github.com/muslemomar/db-filler

auto cli-tool databases fakerjs fill filler

Last synced: 22 days ago
JSON representation

🪄 a CLI to automatically fill a database with random data

Awesome Lists containing this project

README

        

# 🪄 DB Filler
**DB Filler** DB Filler is a CLI tool designed to automate the process of filling a database with random realistic data. It automatically checks the schema of your tables to insert realistic data, including handling relational tables.
## Features

- **Database Support** : Works with MySQL only (PostgreSQL support coming soon!)

- **Random Realistic Data Generation** : Automatically populates tables with random, realistic data.

- **Relation Tables**: Supports inserting data into relational tables.

- **CLI Interface** : Simple command-line interface for easy use.

- **Customizable** : Allows specification of the number of rows to insert.

## Usage
To use the DB Filler, you can run the CLI tool with `npx` and follow the prompts:

```bash
npx db-filler
```

### Guide:

1. **Select Database Type** : Currently supports MySQL only.

2. **Enter Database Credentials** : Provide the host, user, password, etc.

3. **Specify Rows to Insert** : Define the number of rows to populate in each table.

### Example Output
![Untitled](https://github.com/user-attachments/assets/2e0e525d-cf06-49c5-b040-b2fe11ff5d83)

## License
This project is licensed under the MIT License.