Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/muslemomar/db-filler
- Owner: muslemomar
- Created: 2024-06-29T15:38:53.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T13:26:27.000Z (4 months ago)
- Last Synced: 2024-11-13T12:12:54.196Z (about 2 months ago)
- Topics: auto, cli-tool, databases, fakerjs, fill, filler
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.