$sourcePath = Get-Location
$destination = Join-Path -Path $sourcePath -ChildPath "fpsms.zip"

$exclude = @(".git", ".next", ".vscode", "node_modules", ".gitignore", "zip_project.ps1", "fpsms.zip", ".env.development")

$files = Get-ChildItem -Path $sourcePath -Exclude $exclude

Compress-Archive -Path $files -DestinationPath $destination -CompressionLevel Fastest -Force 

Write-Host "Folder zipped successfully."