# models rm app/*.php 2> /dev/null # migrations rm database/migrations/*.php 2> /dev/null # routes echo "get(\"/\", function () use (\$app) { return \$app->welcome(); });" > app/Http/routes.php echo " routes/api.php # Controllers rm app/Http/Controllers/*.php 2> /dev/null echo " app/Http/Controllers/Controller.php # factories echo "define(App\User::class, function (\$faker) { return [ 'name' => \$faker->name, 'email' => \$faker->email, 'password' => str_random(10), 'remember_token' => str_random(10), ]; }); " > database/factories/ModelFactory.php # database rm database/database.sqlite 2> /dev/null touch database/database.sqlite