Initial commit

This commit is contained in:
nabeel
2026-05-27 13:58:05 +10:00
commit c2202ea0bb
89 changed files with 28855 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
# Create backend directory structure
$basePath = "C:\Users\Nabeel\Nextcloud\Projects\firefly_reports\backend"
Write-Host "Creating backend directory structure..." -ForegroundColor Cyan
Write-Host ""
# Define all directories to create
$directories = @(
$basePath,
"$basePath\app",
"$basePath\app\routers",
"$basePath\app\clients",
"$basePath\app\services"
)
# Create all directories
foreach ($dir in $directories) {
if (-not (Test-Path -Path $dir)) {
New-Item -ItemType Directory -Path $dir -Force | Out-Null
Write-Host "✓ Created: $dir" -ForegroundColor Green
} else {
Write-Host "✓ Already exists: $dir" -ForegroundColor Green
}
}
Write-Host ""
Write-Host "Verifying directory structure..." -ForegroundColor Cyan
Write-Host ""
# Verify all directories exist
$allExist = $true
foreach ($dir in $directories) {
if (Test-Path -Path $dir -PathType Container) {
Write-Host "✓ OK : $dir" -ForegroundColor Green
} else {
Write-Host "✗ FAIL: $dir (NOT FOUND)" -ForegroundColor Red
$allExist = $false
}
}
Write-Host ""
if ($allExist) {
Write-Host "✓ SUCCESS: All directories created successfully!" -ForegroundColor Green
} else {
Write-Host "✗ FAILURE: Some directories failed to create" -ForegroundColor Red
}
Write-Host ""
Write-Host "Directory structure:"
Write-Host "backend/"
Write-Host "└── app/"
Write-Host " ├── routers/"
Write-Host " ├── clients/"
Write-Host " └── services/"