diff --git a/storage/seedDb.php b/storage/seedDb.php new file mode 100644 index 0000000..b6fbbf5 --- /dev/null +++ b/storage/seedDb.php @@ -0,0 +1,12 @@ + 'test@test.com', + 'password' => password_hash('password', PASSWORD_DEFAULT), + ], +]; +$path = __DIR__.'/../storage/users.json'; +$data = json_encode($users, JSON_PRETTY_PRINT); + +file_put_contents($path, $data);