https://github.com/matt5816/randomusersqldbgenerator
Generator of fake users SQL database import file.
https://github.com/matt5816/randomusersqldbgenerator
database fakedata fakeusergenerator sql
Last synced: about 2 months ago
JSON representation
Generator of fake users SQL database import file.
- Host: GitHub
- URL: https://github.com/matt5816/randomusersqldbgenerator
- Owner: MAtt5816
- Created: 2024-06-28T19:00:29.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T17:34:19.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T18:20:01.987Z (over 1 year ago)
- Topics: database, fakedata, fakeusergenerator, sql
- Language: C#
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
The Random User SQL DB Generator is designed for generating SQL database import file. Application use random fake data from [API](https://randomuser.me).
# How to run?
[Bulid project](#build-project) or [use Docker image](#use-docker-image).
## Build project
> Note: This method is intended for Windows and may vary from Linux (paths, extensions, etc.).
1. Compile solution:
```shell
dotnet build RandomUserSqlDbGenerator.sln -c Release
```
2. Run application:
```shell
bin/Release/net8.0/RandomUserSqlDbGenerator.exe 1000 > db.sql
```
where `1000` is a number of users to generate (**must be greater than 0**) and `db.sql` is name of output SQL file.
## Use Docker image
Run:
```csharp
docker run --rm ghcr.io/matt5816/random-user-sql-db-generator:latest 1000 > db.sql
```
where `1000` is a number of users to generate (**must be greater than 0**) and `db.sql` is name of output SQL file.
# References
* RANDOM USER GENERATOR open-source API: https://randomuser.me/