diff --git a/DEPLOYMENT-GUIDE.md b/DEPLOYMENT-GUIDE.md new file mode 100644 index 0000000..226df37 --- /dev/null +++ b/DEPLOYMENT-GUIDE.md @@ -0,0 +1,447 @@ +# TrueCV Production Deployment Guide + +A low-budget guide to launching TrueCV as a professional, secure offering. + +--- + +## Budget Summary + +| Component | Monthly Cost | Notes | +|-----------|-------------|-------| +| Azure App Service (B1) | ~£10 | 1.75GB RAM, custom domain, SSL | +| Azure SQL (Basic) | ~£4 | 2GB, 5 DTUs - upgrade as needed | +| Azure Blob Storage | ~£1 | Pay per GB stored | +| Domain name | ~£10/year | .com or .co.uk | +| **Total** | **~£15-20/month** | Scales with usage | + +Alternative: A single £5-10/month VPS (Hetzner, DigitalOcean) can run everything if you're comfortable with Linux administration. + +--- + +## Phase 1: Pre-Launch Checklist + +### 1.1 Stripe Setup (Required for Payments) + +1. Create a Stripe account at [stripe.com](https://stripe.com) +2. Complete business verification (required for live payments) +3. Create two Products in Stripe Dashboard: + - **Professional**: £49/month recurring + - **Enterprise**: £199/month recurring +4. Copy the Price IDs (start with `price_`) to your config +5. Configure the Customer Portal: + - Dashboard → Settings → Billing → Customer Portal + - Enable: Update payment methods, Cancel subscriptions, View invoices +6. Set up webhook endpoint (after deployment): + - Dashboard → Developers → Webhooks → Add endpoint + - URL: `https://yourdomain.com/api/stripe/webhook` + - Events: `checkout.session.completed`, `customer.subscription.updated`, `customer.subscription.deleted`, `invoice.payment_failed` +7. Copy the webhook signing secret to your config + +### 1.2 External API Keys + +| Service | Purpose | How to Get | +|---------|---------|-----------| +| Companies House | Company verification | [developer.company-information.service.gov.uk](https://developer.company-information.service.gov.uk) - Free | +| Anthropic (Claude) | CV parsing & analysis | [console.anthropic.com](https://console.anthropic.com) - Pay per use | + +### 1.3 Domain & Email + +1. Register a domain (Cloudflare, Namecheap, or similar) +2. Set up a professional email: + - Budget option: Zoho Mail free tier (5 users) + - Better option: Google Workspace (£5/user/month) +3. Configure SPF, DKIM, DMARC records for email deliverability + +--- + +## Phase 2: Infrastructure Setup + +### Option A: Azure (Recommended for .NET) + +#### App Service + Azure SQL + +```bash +# Install Azure CLI, then: +az login + +# Create resource group +az group create --name truecv-prod --location uksouth + +# Create App Service plan (B1 = ~£10/month) +az appservice plan create \ + --name truecv-plan \ + --resource-group truecv-prod \ + --sku B1 \ + --is-linux + +# Create web app +az webapp create \ + --name truecv-app \ + --resource-group truecv-prod \ + --plan truecv-plan \ + --runtime "DOTNETCORE:8.0" + +# Create SQL Server +az sql server create \ + --name truecv-sql \ + --resource-group truecv-prod \ + --location uksouth \ + --admin-user truecvadmin \ + --admin-password + +# Create database (Basic = ~£4/month) +az sql db create \ + --name truecv-db \ + --server truecv-sql \ + --resource-group truecv-prod \ + --service-objective Basic + +# Create storage account for CV files +az storage account create \ + --name truecvstorage \ + --resource-group truecv-prod \ + --location uksouth \ + --sku Standard_LRS +``` + +#### Environment Variables (App Service Configuration) + +Set these in Azure Portal → App Service → Configuration → Application settings: + +``` +ConnectionStrings__DefaultConnection=Server=truecv-sql.database.windows.net;Database=truecv-db;User Id=truecvadmin;Password=;Encrypt=True; +ConnectionStrings__HangfireConnection= +Stripe__SecretKey=sk_live_xxx +Stripe__PublishableKey=pk_live_xxx +Stripe__WebhookSecret=whsec_xxx +Stripe__PriceIds__Professional=price_xxx +Stripe__PriceIds__Enterprise=price_xxx +Anthropic__ApiKey=sk-ant-xxx +CompaniesHouse__ApiKey=xxx +AzureBlob__ConnectionString= +AzureBlob__ContainerName=cvfiles +``` + +### Option B: VPS (Budget Alternative) + +A £5-10/month VPS from Hetzner, DigitalOcean, or Vultr can run everything: + +1. Ubuntu 22.04 LTS +2. Install Docker and Docker Compose +3. Use the existing `docker-compose.yml` with modifications: + +```yaml +# docker-compose.prod.yml +version: '3.8' +services: + web: + build: . + ports: + - "5000:8080" + environment: + - ASPNETCORE_ENVIRONMENT=Production + - ConnectionStrings__DefaultConnection=Server=db;Database=TrueCV;User Id=sa;Password=${DB_PASSWORD};TrustServerCertificate=True + depends_on: + - db + restart: always + + db: + image: mcr.microsoft.com/mssql/server:2022-latest + environment: + - ACCEPT_EULA=Y + - SA_PASSWORD=${DB_PASSWORD} + volumes: + - sqldata:/var/opt/mssql + restart: always + + caddy: # Reverse proxy with automatic HTTPS + image: caddy:2 + ports: + - "80:80" + - "443:443" + volumes: + - ./Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + restart: always + +volumes: + sqldata: + caddy_data: +``` + +``` +# Caddyfile +yourdomain.com { + reverse_proxy web:5000 +} +``` + +--- + +## Phase 3: Security Hardening + +### 3.1 Application Security (Critical) + +#### Secrets Management +- **Never** commit secrets to git +- Use Azure Key Vault or environment variables +- Rotate API keys quarterly + +#### HTTPS Enforcement +Already configured in `Program.cs`: +```csharp +app.UseHsts(); +app.UseHttpsRedirection(); +``` + +#### Content Security Policy +Add to `Program.cs`: +```csharp +app.Use(async (context, next) => +{ + context.Response.Headers.Append("X-Content-Type-Options", "nosniff"); + context.Response.Headers.Append("X-Frame-Options", "DENY"); + context.Response.Headers.Append("X-XSS-Protection", "1; mode=block"); + context.Response.Headers.Append("Referrer-Policy", "strict-origin-when-cross-origin"); + context.Response.Headers.Append("Permissions-Policy", "camera=(), microphone=(), geolocation=()"); + await next(); +}); +``` + +#### Rate Limiting +Add to `Program.cs`: +```csharp +builder.Services.AddRateLimiter(options => +{ + options.GlobalLimiter = PartitionedRateLimiter.Create(context => + RateLimitPartition.GetFixedWindowLimiter( + partitionKey: context.User.Identity?.Name ?? context.Request.Headers.Host.ToString(), + factory: _ => new FixedWindowRateLimiterOptions + { + AutoReplenishment = true, + PermitLimit = 100, + Window = TimeSpan.FromMinutes(1) + })); +}); + +// In middleware pipeline +app.UseRateLimiter(); +``` + +### 3.2 Database Security + +1. **Use strong passwords** (20+ characters, random) +2. **Enable Azure SQL firewall** - allow only App Service IP +3. **Enable Transparent Data Encryption** (on by default in Azure) +4. **Regular backups** - Azure does this automatically (7-day retention on Basic tier) + +### 3.3 File Storage Security + +CV files contain sensitive data: + +1. **Private container** - never allow public blob access +2. **SAS tokens** - generate time-limited URLs for downloads +3. **Encryption at rest** - enabled by default in Azure Storage +4. **Consider encryption at application level** for extra protection + +### 3.4 Authentication Security + +Already using ASP.NET Identity with good defaults. Verify these settings: + +```csharp +// In Program.cs - identity configuration +builder.Services.Configure(options => +{ + options.Password.RequiredLength = 12; + options.Password.RequireDigit = true; + options.Password.RequireLowercase = true; + options.Password.RequireUppercase = true; + options.Password.RequireNonAlphanumeric = true; + options.Lockout.DefaultLockoutTimeSpan = TimeSpan.FromMinutes(15); + options.Lockout.MaxFailedAccessAttempts = 5; +}); +``` + +### 3.5 Stripe Webhook Security + +Already implemented - verify signature on every webhook: +```csharp +// In StripeService.cs - this is critical +stripeEvent = EventUtility.ConstructEvent(json, signature, _settings.WebhookSecret); +``` + +--- + +## Phase 4: Compliance & Legal + +### 4.1 GDPR Compliance (Required for UK/EU) + +1. **Privacy Policy** - create and link in footer + - What data you collect (CVs, email, payment info) + - How long you retain it + - User rights (access, deletion, portability) + - Third parties (Stripe, Anthropic, Companies House) + +2. **Cookie Consent** - add banner for analytics cookies + +3. **Data Retention Policy**: + - CVs: Delete after 30 days or on user request + - Accounts: Retain while active, delete 90 days after closure + - Payment data: Stripe handles this (PCI compliant) + +4. **Right to Deletion** - implement account deletion feature + +5. **Data Processing Agreement** - required if you have business customers + +### 4.2 Terms of Service + +Cover: +- Service description and limitations +- Acceptable use policy +- Payment terms and refund policy +- Liability limitations +- Dispute resolution + +### 4.3 PCI Compliance + +Stripe Checkout handles card data - you never touch it. This puts you in **PCI SAQ-A** (simplest level): +- Use only Stripe Checkout or Elements +- Serve pages over HTTPS +- Don't store card numbers + +--- + +## Phase 5: Monitoring & Operations + +### 5.1 Application Monitoring + +#### Free Option: Application Insights (Azure) +```csharp +// In Program.cs +builder.Services.AddApplicationInsightsTelemetry(); +``` + +#### Budget Option: Seq + Serilog +```csharp +// Already using Serilog - add Seq sink +Log.Logger = new LoggerConfiguration() + .WriteTo.Seq("http://localhost:5341") // Self-hosted Seq + .CreateLogger(); +``` + +### 5.2 Uptime Monitoring + +Free options: +- [UptimeRobot](https://uptimerobot.com) - 50 free monitors +- [Freshping](https://freshping.io) - 50 free monitors + +Set up alerts for: +- Homepage availability +- API health endpoint +- Webhook endpoint + +### 5.3 Error Tracking + +Add a health check endpoint: +```csharp +// In Program.cs +app.MapGet("/health", () => Results.Ok(new { status = "healthy", timestamp = DateTime.UtcNow })); +``` + +### 5.4 Backup Strategy + +| Component | Backup Method | Frequency | +|-----------|--------------|-----------| +| Database | Azure automated backups | Continuous (7-day retention) | +| CV files | Azure Blob redundancy (LRS) | Automatic | +| Config | Git repository | On change | + +For VPS: Set up daily database dumps to offsite storage. + +--- + +## Phase 6: Launch Checklist + +### Pre-Launch (1 week before) + +- [ ] All environment variables configured +- [ ] Database migrations applied +- [ ] Stripe products created and tested +- [ ] Webhook endpoint configured and tested +- [ ] SSL certificate active +- [ ] Privacy Policy and Terms published +- [ ] Test complete user journey (signup → payment → CV check) +- [ ] Test subscription cancellation flow +- [ ] Error pages customised (404, 500) + +### Launch Day + +- [ ] Switch Stripe to live mode (change API keys) +- [ ] Verify webhook is receiving live events +- [ ] Monitor error logs closely +- [ ] Test a real payment (refund yourself) + +### Post-Launch (First Week) + +- [ ] Monitor for errors daily +- [ ] Check Stripe dashboard for failed payments +- [ ] Respond to support queries within 24 hours +- [ ] Gather user feedback + +--- + +## Phase 7: Scaling (When Needed) + +Start small and scale based on actual usage: + +| Trigger | Action | Cost Impact | +|---------|--------|-------------| +| Response time > 2s | Upgrade App Service to B2/B3 | +£10-30/month | +| Database DTU > 80% | Upgrade to Standard S0 | +£15/month | +| Storage > 5GB | Already pay-per-use | Minimal | +| > 1000 users | Add Redis for caching | +£15/month | + +--- + +## Quick Reference: Configuration Files + +### appsettings.Production.json +```json +{ + "Logging": { + "LogLevel": { + "Default": "Warning", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "yourdomain.com;www.yourdomain.com" +} +``` + +Sensitive values should be in environment variables, not this file. + +--- + +## Support & Resources + +- [Azure App Service Docs](https://learn.microsoft.com/en-us/azure/app-service/) +- [Stripe Documentation](https://stripe.com/docs) +- [ASP.NET Core Security](https://learn.microsoft.com/en-us/aspnet/core/security/) +- [OWASP Top 10](https://owasp.org/www-project-top-ten/) + +--- + +## Estimated Time to Launch + +| Phase | Effort | +|-------|--------| +| Stripe setup | 1-2 hours | +| Infrastructure | 2-4 hours | +| Security hardening | 2-3 hours | +| Legal pages | 2-4 hours (use templates) | +| Testing | 2-4 hours | +| **Total** | **1-2 days** | + +--- + +*Document version: 1.0 | Last updated: January 2026* diff --git a/Dockerfile b/Dockerfile index 7866f57..973787d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src # Copy solution and project files first for better layer caching -COPY TrueCV.sln ./ -COPY src/TrueCV.Domain/TrueCV.Domain.csproj src/TrueCV.Domain/ -COPY src/TrueCV.Application/TrueCV.Application.csproj src/TrueCV.Application/ -COPY src/TrueCV.Infrastructure/TrueCV.Infrastructure.csproj src/TrueCV.Infrastructure/ -COPY src/TrueCV.Web/TrueCV.Web.csproj src/TrueCV.Web/ +COPY RealCV.sln ./ +COPY src/RealCV.Domain/RealCV.Domain.csproj src/RealCV.Domain/ +COPY src/RealCV.Application/RealCV.Application.csproj src/RealCV.Application/ +COPY src/RealCV.Infrastructure/RealCV.Infrastructure.csproj src/RealCV.Infrastructure/ +COPY src/RealCV.Web/RealCV.Web.csproj src/RealCV.Web/ # Restore dependencies RUN dotnet restore @@ -16,7 +16,7 @@ RUN dotnet restore COPY src/ src/ # Build and publish -WORKDIR /src/src/TrueCV.Web +WORKDIR /src/src/RealCV.Web RUN dotnet publish -c Release -o /app/publish --no-restore # Runtime stage @@ -51,4 +51,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD curl -f http://localhost:8080/health || exit 1 # Start the app -ENTRYPOINT ["dotnet", "TrueCV.Web.dll"] +ENTRYPOINT ["dotnet", "RealCV.Web.dll"] diff --git a/Dockerfile.migrations b/Dockerfile.migrations index 4b24b76..3acb7f0 100644 --- a/Dockerfile.migrations +++ b/Dockerfile.migrations @@ -7,11 +7,11 @@ RUN dotnet tool install --global dotnet-ef ENV PATH="$PATH:/root/.dotnet/tools" # Copy solution and project files -COPY TrueCV.sln ./ -COPY src/TrueCV.Domain/TrueCV.Domain.csproj src/TrueCV.Domain/ -COPY src/TrueCV.Application/TrueCV.Application.csproj src/TrueCV.Application/ -COPY src/TrueCV.Infrastructure/TrueCV.Infrastructure.csproj src/TrueCV.Infrastructure/ -COPY src/TrueCV.Web/TrueCV.Web.csproj src/TrueCV.Web/ +COPY RealCV.sln ./ +COPY src/RealCV.Domain/RealCV.Domain.csproj src/RealCV.Domain/ +COPY src/RealCV.Application/RealCV.Application.csproj src/RealCV.Application/ +COPY src/RealCV.Infrastructure/RealCV.Infrastructure.csproj src/RealCV.Infrastructure/ +COPY src/RealCV.Web/RealCV.Web.csproj src/RealCV.Web/ # Restore dependencies RUN dotnet restore @@ -20,7 +20,7 @@ RUN dotnet restore COPY src/ src/ # Build the project -RUN dotnet build src/TrueCV.Web/TrueCV.Web.csproj -c Release +RUN dotnet build src/RealCV.Web/RealCV.Web.csproj -c Release # Run migrations on startup -ENTRYPOINT ["dotnet", "ef", "database", "update", "--project", "src/TrueCV.Infrastructure", "--startup-project", "src/TrueCV.Web", "--no-build", "-c", "Release"] +ENTRYPOINT ["dotnet", "ef", "database", "update", "--project", "src/RealCV.Infrastructure", "--startup-project", "src/RealCV.Web", "--no-build", "-c", "Release"] diff --git a/Gemini_Generated_Image_go8drzgo8drzgo8d.png b/Gemini_Generated_Image_go8drzgo8drzgo8d.png new file mode 100755 index 0000000..2e424ca Binary files /dev/null and b/Gemini_Generated_Image_go8drzgo8drzgo8d.png differ diff --git a/TrueCV.sln b/RealCV.sln similarity index 81% rename from TrueCV.sln rename to RealCV.sln index c28d864..e96013c 100644 --- a/TrueCV.sln +++ b/RealCV.sln @@ -5,17 +5,17 @@ VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F25C3740-9240-46DF-BC34-985BC577216B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrueCV.Domain", "src\TrueCV.Domain\TrueCV.Domain.csproj", "{41AC48AF-09BC-48D1-9CA4-1B05D3B693F0}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RealCV.Domain", "src\RealCV.Domain\RealCV.Domain.csproj", "{41AC48AF-09BC-48D1-9CA4-1B05D3B693F0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrueCV.Application", "src\TrueCV.Application\TrueCV.Application.csproj", "{A8A1BA81-3B2F-4F95-BB15-ACA40DF2A70E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RealCV.Application", "src\RealCV.Application\RealCV.Application.csproj", "{A8A1BA81-3B2F-4F95-BB15-ACA40DF2A70E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrueCV.Infrastructure", "src\TrueCV.Infrastructure\TrueCV.Infrastructure.csproj", "{03DB607C-9592-4930-8C89-3E257A319278}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RealCV.Infrastructure", "src\RealCV.Infrastructure\RealCV.Infrastructure.csproj", "{03DB607C-9592-4930-8C89-3E257A319278}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrueCV.Web", "src\TrueCV.Web\TrueCV.Web.csproj", "{D69F57DB-3092-48AF-81BB-868E3749C638}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RealCV.Web", "src\RealCV.Web\RealCV.Web.csproj", "{D69F57DB-3092-48AF-81BB-868E3749C638}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{80890010-EDA6-418B-AD6C-5A9D875594C4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrueCV.Tests", "tests\TrueCV.Tests\TrueCV.Tests.csproj", "{4450D4F1-4EB9-445E-904B-1C57701493D8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RealCV.Tests", "tests\RealCV.Tests\RealCV.Tests.csproj", "{4450D4F1-4EB9-445E-904B-1C57701493D8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/deploy-local.sh b/deploy-local.sh new file mode 100755 index 0000000..919ead1 --- /dev/null +++ b/deploy-local.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# Deploy RealCV from local git repo to website +set -e + +cd /git/RealCV + +echo "Building application..." +dotnet publish src/RealCV.Web -c Release -o ./publish --nologo + +echo "Stopping service..." +sudo systemctl stop realcv + +echo "Backing up config..." +cp /var/www/realcv/appsettings.Production.json /tmp/appsettings.Production.json 2>/dev/null || true + +echo "Deploying files..." +sudo rm -rf /var/www/realcv/* +sudo cp -r ./publish/* /var/www/realcv/ + +echo "Restoring config..." +sudo cp /tmp/appsettings.Production.json /var/www/realcv/ 2>/dev/null || true + +echo "Setting permissions..." +sudo chown -R www-data:www-data /var/www/realcv + +echo "Starting service..." +sudo systemctl start realcv + +echo "Done! Checking status..." +sleep 2 +sudo systemctl is-active realcv && echo "Service is running." diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 7837b0d..bd7310c 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -1,5 +1,5 @@ #!/bin/bash -# TrueCV Deployment Script +# RealCV Deployment Script # Run this from your development machine to deploy to a Linux server set -e @@ -7,8 +7,8 @@ set -e # Configuration - UPDATE THESE VALUES SERVER_USER="deploy" SERVER_HOST="your-server.com" -SERVER_PATH="/var/www/truecv" -DOMAIN="truecv.yourdomain.com" +SERVER_PATH="/var/www/realcv" +DOMAIN="realcv.yourdomain.com" # Colors for output RED='\033[0;31m' @@ -16,7 +16,7 @@ GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' # No Color -echo -e "${GREEN}=== TrueCV Deployment Script ===${NC}" +echo -e "${GREEN}=== RealCV Deployment Script ===${NC}" # Check if configuration is set if [[ "$SERVER_HOST" == "your-server.com" ]]; then @@ -27,15 +27,15 @@ fi # Step 1: Build and publish echo -e "${YELLOW}Step 1: Publishing application...${NC}" cd "$(dirname "$0")/.." -dotnet publish src/TrueCV.Web -c Release -o ./publish --nologo +dotnet publish src/RealCV.Web -c Release -o ./publish --nologo # Step 2: Create deployment package echo -e "${YELLOW}Step 2: Creating deployment package...${NC}" -tar -czf deploy/truecv-release.tar.gz -C publish . +tar -czf deploy/realcv-release.tar.gz -C publish . # Step 3: Transfer to server echo -e "${YELLOW}Step 3: Transferring to server...${NC}" -scp deploy/truecv-release.tar.gz ${SERVER_USER}@${SERVER_HOST}:/tmp/ +scp deploy/realcv-release.tar.gz ${SERVER_USER}@${SERVER_HOST}:/tmp/ # Step 4: Deploy on server echo -e "${YELLOW}Step 4: Deploying on server...${NC}" @@ -43,23 +43,23 @@ ssh ${SERVER_USER}@${SERVER_HOST} << 'ENDSSH' set -e # Stop the service if running -sudo systemctl stop truecv 2>/dev/null || true +sudo systemctl stop realcv 2>/dev/null || true # Backup current deployment -if [ -d "/var/www/truecv" ]; then - sudo mv /var/www/truecv /var/www/truecv.backup.$(date +%Y%m%d_%H%M%S) +if [ -d "/var/www/realcv" ]; then + sudo mv /var/www/realcv /var/www/realcv.backup.$(date +%Y%m%d_%H%M%S) fi # Create directory and extract -sudo mkdir -p /var/www/truecv -sudo tar -xzf /tmp/truecv-release.tar.gz -C /var/www/truecv -sudo chown -R www-data:www-data /var/www/truecv +sudo mkdir -p /var/www/realcv +sudo tar -xzf /tmp/realcv-release.tar.gz -C /var/www/realcv +sudo chown -R www-data:www-data /var/www/realcv # Start the service -sudo systemctl start truecv +sudo systemctl start realcv # Clean up -rm /tmp/truecv-release.tar.gz +rm /tmp/realcv-release.tar.gz echo "Deployment complete on server" ENDSSH @@ -67,14 +67,14 @@ ENDSSH # Step 5: Verify deployment echo -e "${YELLOW}Step 5: Verifying deployment...${NC}" sleep 3 -if ssh ${SERVER_USER}@${SERVER_HOST} "sudo systemctl is-active truecv" | grep -q "active"; then +if ssh ${SERVER_USER}@${SERVER_HOST} "sudo systemctl is-active realcv" | grep -q "active"; then echo -e "${GREEN}=== Deployment successful! ===${NC}" echo -e "Site should be available at: https://${DOMAIN}" else - echo -e "${RED}Warning: Service may not be running. Check with: sudo systemctl status truecv${NC}" + echo -e "${RED}Warning: Service may not be running. Check with: sudo systemctl status realcv${NC}" fi # Cleanup local files -rm -f deploy/truecv-release.tar.gz +rm -f deploy/realcv-release.tar.gz echo -e "${GREEN}Done!${NC}" diff --git a/deploy/server-setup.sh b/deploy/server-setup.sh index fd2a719..6c23109 100644 --- a/deploy/server-setup.sh +++ b/deploy/server-setup.sh @@ -1,11 +1,11 @@ #!/bin/bash -# TrueCV Server Setup Script +# RealCV Server Setup Script # Run this ONCE on a fresh Linux server (Ubuntu 22.04/24.04) set -e # Configuration - UPDATE THESE VALUES -DOMAIN="truecv.yourdomain.com" +DOMAIN="realcv.yourdomain.com" DB_PASSWORD="YourStrong!Password123" ADMIN_EMAIL="admin@yourdomain.com" @@ -15,7 +15,7 @@ GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' -echo -e "${GREEN}=== TrueCV Server Setup ===${NC}" +echo -e "${GREEN}=== RealCV Server Setup ===${NC}" # Check if running as root if [[ $EUID -ne 0 ]]; then @@ -52,54 +52,54 @@ echo -e "${YELLOW}Step 5: Setting up SQL Server...${NC}" docker run -e 'ACCEPT_EULA=Y' \ -e "SA_PASSWORD=${DB_PASSWORD}" \ -p 127.0.0.1:1433:1433 \ - --name truecv-sql \ + --name realcv-sql \ --restart unless-stopped \ - -v truecv-sqldata:/var/opt/mssql \ + -v realcv-sqldata:/var/opt/mssql \ -d mcr.microsoft.com/mssql/server:2022-latest echo "Waiting for SQL Server to start..." sleep 30 # Create the database -docker exec truecv-sql /opt/mssql-tools18/bin/sqlcmd \ +docker exec realcv-sql /opt/mssql-tools18/bin/sqlcmd \ -S localhost -U SA -P "${DB_PASSWORD}" -C \ - -Q "CREATE DATABASE TrueCV" + -Q "CREATE DATABASE RealCV" # Step 6: Create application directory echo -e "${YELLOW}Step 6: Creating application directory...${NC}" -mkdir -p /var/www/truecv -chown -R www-data:www-data /var/www/truecv +mkdir -p /var/www/realcv +chown -R www-data:www-data /var/www/realcv # Step 7: Create systemd service echo -e "${YELLOW}Step 7: Creating systemd service...${NC}" -cat > /etc/systemd/system/truecv.service << EOF +cat > /etc/systemd/system/realcv.service << EOF [Unit] -Description=TrueCV Web Application +Description=RealCV Web Application After=network.target docker.service Requires=docker.service [Service] -WorkingDirectory=/var/www/truecv -ExecStart=/usr/bin/dotnet /var/www/truecv/TrueCV.Web.dll +WorkingDirectory=/var/www/realcv +ExecStart=/usr/bin/dotnet /var/www/realcv/RealCV.Web.dll Restart=always RestartSec=10 KillSignal=SIGINT -SyslogIdentifier=truecv +SyslogIdentifier=realcv User=www-data Environment=ASPNETCORE_ENVIRONMENT=Production Environment=ASPNETCORE_URLS=http://localhost:5000 -Environment=ConnectionStrings__DefaultConnection=Server=127.0.0.1;Database=TrueCV;User Id=SA;Password=${DB_PASSWORD};TrustServerCertificate=True +Environment=ConnectionStrings__DefaultConnection=Server=127.0.0.1;Database=RealCV;User Id=SA;Password=${DB_PASSWORD};TrustServerCertificate=True [Install] WantedBy=multi-user.target EOF systemctl daemon-reload -systemctl enable truecv +systemctl enable realcv # Step 8: Configure Nginx echo -e "${YELLOW}Step 8: Configuring Nginx...${NC}" -cat > /etc/nginx/sites-available/truecv << EOF +cat > /etc/nginx/sites-available/realcv << EOF server { listen 80; server_name ${DOMAIN}; @@ -122,7 +122,7 @@ server { } EOF -ln -sf /etc/nginx/sites-available/truecv /etc/nginx/sites-enabled/ +ln -sf /etc/nginx/sites-available/realcv /etc/nginx/sites-enabled/ rm -f /etc/nginx/sites-enabled/default nginx -t systemctl reload nginx @@ -151,9 +151,9 @@ echo "2. Deploy the application using deploy.sh from your dev machine" echo "3. Run SSL setup: certbot --nginx -d ${DOMAIN}" echo "" echo "Useful commands:" -echo " sudo systemctl status truecv - Check app status" -echo " sudo journalctl -u truecv -f - View app logs" -echo " docker logs truecv-sql - View SQL Server logs" +echo " sudo systemctl status realcv - Check app status" +echo " sudo journalctl -u realcv -f - View app logs" +echo " docker logs realcv-sql - View SQL Server logs" echo "" echo -e "${YELLOW}Database connection string:${NC}" -echo " Server=127.0.0.1;Database=TrueCV;User Id=SA;Password=${DB_PASSWORD};TrustServerCertificate=True" +echo " Server=127.0.0.1;Database=RealCV;User Id=SA;Password=${DB_PASSWORD};TrustServerCertificate=True" diff --git a/docker-compose.yml b/docker-compose.yml index 97b31f5..edc06a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,18 +1,18 @@ version: '3.8' services: - # TrueCV Web Application - truecv-web: + # RealCV Web Application + realcv-web: build: context: . dockerfile: Dockerfile - container_name: truecv-web + container_name: realcv-web ports: - "5000:8080" environment: - ASPNETCORE_ENVIRONMENT=Development - - ConnectionStrings__DefaultConnection=Server=sqlserver;Database=TrueCV;User Id=sa;Password=TrueCV_P@ssw0rd!;TrustServerCertificate=True; - - ConnectionStrings__HangfireConnection=Server=sqlserver;Database=TrueCV_Hangfire;User Id=sa;Password=TrueCV_P@ssw0rd!;TrustServerCertificate=True; + - ConnectionStrings__DefaultConnection=Server=sqlserver;Database=RealCV;User Id=sa;Password=RealCV_P@ssw0rd!;TrustServerCertificate=True; + - ConnectionStrings__HangfireConnection=Server=sqlserver;Database=RealCV_Hangfire;User Id=sa;Password=RealCV_P@ssw0rd!;TrustServerCertificate=True; - AzureBlob__ConnectionString=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1; - AzureBlob__ContainerName=cv-uploads - CompaniesHouse__BaseUrl=https://api.company-information.service.gov.uk @@ -24,25 +24,25 @@ services: azurite: condition: service_started networks: - - truecv-network + - realcv-network restart: unless-stopped # SQL Server Database sqlserver: image: mcr.microsoft.com/mssql/server:2022-latest - container_name: truecv-sqlserver + container_name: realcv-sqlserver ports: - "1433:1433" environment: - ACCEPT_EULA=Y - - MSSQL_SA_PASSWORD=TrueCV_P@ssw0rd! + - MSSQL_SA_PASSWORD=RealCV_P@ssw0rd! - MSSQL_PID=Developer volumes: - sqlserver-data:/var/opt/mssql networks: - - truecv-network + - realcv-network healthcheck: - test: /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P "TrueCV_P@ssw0rd!" -C -Q "SELECT 1" || exit 1 + test: /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P "RealCV_P@ssw0rd!" -C -Q "SELECT 1" || exit 1 interval: 10s timeout: 5s retries: 10 @@ -52,7 +52,7 @@ services: # Azure Storage Emulator (Azurite) azurite: image: mcr.microsoft.com/azure-storage/azurite:latest - container_name: truecv-azurite + container_name: realcv-azurite ports: - "10000:10000" # Blob service - "10001:10001" # Queue service @@ -61,7 +61,7 @@ services: - azurite-data:/data command: "azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --location /data --debug /data/debug.log" networks: - - truecv-network + - realcv-network restart: unless-stopped # Database initialization (runs migrations) @@ -69,18 +69,18 @@ services: build: context: . dockerfile: Dockerfile.migrations - container_name: truecv-db-init + container_name: realcv-db-init environment: - - ConnectionStrings__DefaultConnection=Server=sqlserver;Database=TrueCV;User Id=sa;Password=TrueCV_P@ssw0rd!;TrustServerCertificate=True; + - ConnectionStrings__DefaultConnection=Server=sqlserver;Database=RealCV;User Id=sa;Password=RealCV_P@ssw0rd!;TrustServerCertificate=True; depends_on: sqlserver: condition: service_healthy networks: - - truecv-network + - realcv-network restart: "no" networks: - truecv-network: + realcv-network: driver: bridge volumes: diff --git a/realcv.png b/realcv.png new file mode 100755 index 0000000..2e424ca Binary files /dev/null and b/realcv.png differ diff --git a/screenshots/check.png b/screenshots/check.png new file mode 100644 index 0000000..ff5763e Binary files /dev/null and b/screenshots/check.png differ diff --git a/screenshots/dashboard.png b/screenshots/dashboard.png new file mode 100644 index 0000000..ff5763e Binary files /dev/null and b/screenshots/dashboard.png differ diff --git a/screenshots/homepage.png b/screenshots/homepage.png new file mode 100644 index 0000000..a5ad163 Binary files /dev/null and b/screenshots/homepage.png differ diff --git a/screenshots/login.png b/screenshots/login.png new file mode 100644 index 0000000..ff5763e Binary files /dev/null and b/screenshots/login.png differ diff --git a/screenshots/pricing.png b/screenshots/pricing.png new file mode 100644 index 0000000..fa0b558 Binary files /dev/null and b/screenshots/pricing.png differ diff --git a/screenshots/register.png b/screenshots/register.png new file mode 100644 index 0000000..827b747 Binary files /dev/null and b/screenshots/register.png differ diff --git a/src/TrueCV.Application/DTOs/CVCheckDto.cs b/src/RealCV.Application/DTOs/CVCheckDto.cs similarity index 91% rename from src/TrueCV.Application/DTOs/CVCheckDto.cs rename to src/RealCV.Application/DTOs/CVCheckDto.cs index da762e7..7973518 100644 --- a/src/TrueCV.Application/DTOs/CVCheckDto.cs +++ b/src/RealCV.Application/DTOs/CVCheckDto.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.DTOs; +namespace RealCV.Application.DTOs; public sealed record CVCheckDto { diff --git a/src/TrueCV.Application/DTOs/CompanySearchResult.cs b/src/RealCV.Application/DTOs/CompanySearchResult.cs similarity index 90% rename from src/TrueCV.Application/DTOs/CompanySearchResult.cs rename to src/RealCV.Application/DTOs/CompanySearchResult.cs index 1d6634f..74fe833 100644 --- a/src/TrueCV.Application/DTOs/CompanySearchResult.cs +++ b/src/RealCV.Application/DTOs/CompanySearchResult.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.DTOs; +namespace RealCV.Application.DTOs; public sealed record CompanySearchResult { diff --git a/src/TrueCV.Application/DTOs/SubscriptionInfoDto.cs b/src/RealCV.Application/DTOs/SubscriptionInfoDto.cs similarity index 88% rename from src/TrueCV.Application/DTOs/SubscriptionInfoDto.cs rename to src/RealCV.Application/DTOs/SubscriptionInfoDto.cs index 32e0c80..9fad7b8 100644 --- a/src/TrueCV.Application/DTOs/SubscriptionInfoDto.cs +++ b/src/RealCV.Application/DTOs/SubscriptionInfoDto.cs @@ -1,6 +1,6 @@ -using TrueCV.Domain.Enums; +using RealCV.Domain.Enums; -namespace TrueCV.Application.DTOs; +namespace RealCV.Application.DTOs; public class SubscriptionInfoDto { diff --git a/src/TrueCV.Application/Data/DiplomaMills.cs b/src/RealCV.Application/Data/DiplomaMills.cs similarity index 99% rename from src/TrueCV.Application/Data/DiplomaMills.cs rename to src/RealCV.Application/Data/DiplomaMills.cs index e07d0a4..bb8de2e 100644 --- a/src/TrueCV.Application/Data/DiplomaMills.cs +++ b/src/RealCV.Application/Data/DiplomaMills.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Data; +namespace RealCV.Application.Data; /// /// Known diploma mills and fake educational institutions. diff --git a/src/TrueCV.Application/Data/UKInstitutions.cs b/src/RealCV.Application/Data/UKInstitutions.cs similarity index 99% rename from src/TrueCV.Application/Data/UKInstitutions.cs rename to src/RealCV.Application/Data/UKInstitutions.cs index dc88f0b..018e8f3 100644 --- a/src/TrueCV.Application/Data/UKInstitutions.cs +++ b/src/RealCV.Application/Data/UKInstitutions.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Data; +namespace RealCV.Application.Data; /// /// List of recognised UK higher education institutions. diff --git a/src/TrueCV.Application/Helpers/DateHelpers.cs b/src/RealCV.Application/Helpers/DateHelpers.cs similarity index 95% rename from src/TrueCV.Application/Helpers/DateHelpers.cs rename to src/RealCV.Application/Helpers/DateHelpers.cs index 22aa49c..6140cea 100644 --- a/src/TrueCV.Application/Helpers/DateHelpers.cs +++ b/src/RealCV.Application/Helpers/DateHelpers.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Helpers; +namespace RealCV.Application.Helpers; public static class DateHelpers { diff --git a/src/TrueCV.Application/Helpers/JsonDefaults.cs b/src/RealCV.Application/Helpers/JsonDefaults.cs similarity index 92% rename from src/TrueCV.Application/Helpers/JsonDefaults.cs rename to src/RealCV.Application/Helpers/JsonDefaults.cs index f6c7a93..5f11c4b 100644 --- a/src/TrueCV.Application/Helpers/JsonDefaults.cs +++ b/src/RealCV.Application/Helpers/JsonDefaults.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace TrueCV.Application.Helpers; +namespace RealCV.Application.Helpers; public static class JsonDefaults { diff --git a/src/TrueCV.Application/Helpers/ScoreThresholds.cs b/src/RealCV.Application/Helpers/ScoreThresholds.cs similarity index 92% rename from src/TrueCV.Application/Helpers/ScoreThresholds.cs rename to src/RealCV.Application/Helpers/ScoreThresholds.cs index 439e3c4..7f5784b 100644 --- a/src/TrueCV.Application/Helpers/ScoreThresholds.cs +++ b/src/RealCV.Application/Helpers/ScoreThresholds.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Helpers; +namespace RealCV.Application.Helpers; public static class ScoreThresholds { diff --git a/src/TrueCV.Application/Interfaces/IAuditService.cs b/src/RealCV.Application/Interfaces/IAuditService.cs similarity index 94% rename from src/TrueCV.Application/Interfaces/IAuditService.cs rename to src/RealCV.Application/Interfaces/IAuditService.cs index 8f113e4..a5c4931 100644 --- a/src/TrueCV.Application/Interfaces/IAuditService.cs +++ b/src/RealCV.Application/Interfaces/IAuditService.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface IAuditService { diff --git a/src/TrueCV.Application/Interfaces/ICVCheckService.cs b/src/RealCV.Application/Interfaces/ICVCheckService.cs similarity index 79% rename from src/TrueCV.Application/Interfaces/ICVCheckService.cs rename to src/RealCV.Application/Interfaces/ICVCheckService.cs index 5121753..4308c39 100644 --- a/src/TrueCV.Application/Interfaces/ICVCheckService.cs +++ b/src/RealCV.Application/Interfaces/ICVCheckService.cs @@ -1,7 +1,7 @@ -using TrueCV.Application.DTOs; -using TrueCV.Application.Models; +using RealCV.Application.DTOs; +using RealCV.Application.Models; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface ICVCheckService { diff --git a/src/TrueCV.Application/Interfaces/ICVParserService.cs b/src/RealCV.Application/Interfaces/ICVParserService.cs similarity index 67% rename from src/TrueCV.Application/Interfaces/ICVParserService.cs rename to src/RealCV.Application/Interfaces/ICVParserService.cs index bc5637a..d99612d 100644 --- a/src/TrueCV.Application/Interfaces/ICVParserService.cs +++ b/src/RealCV.Application/Interfaces/ICVParserService.cs @@ -1,6 +1,6 @@ -using TrueCV.Application.Models; +using RealCV.Application.Models; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface ICVParserService { diff --git a/src/TrueCV.Application/Interfaces/ICompanyNameMatcherService.cs b/src/RealCV.Application/Interfaces/ICompanyNameMatcherService.cs similarity index 85% rename from src/TrueCV.Application/Interfaces/ICompanyNameMatcherService.cs rename to src/RealCV.Application/Interfaces/ICompanyNameMatcherService.cs index 67fed59..097f4e9 100644 --- a/src/TrueCV.Application/Interfaces/ICompanyNameMatcherService.cs +++ b/src/RealCV.Application/Interfaces/ICompanyNameMatcherService.cs @@ -1,6 +1,6 @@ -using TrueCV.Application.Models; +using RealCV.Application.Models; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface ICompanyNameMatcherService { diff --git a/src/TrueCV.Application/Interfaces/ICompanyVerifierService.cs b/src/RealCV.Application/Interfaces/ICompanyVerifierService.cs similarity index 78% rename from src/TrueCV.Application/Interfaces/ICompanyVerifierService.cs rename to src/RealCV.Application/Interfaces/ICompanyVerifierService.cs index 138189c..65ca591 100644 --- a/src/TrueCV.Application/Interfaces/ICompanyVerifierService.cs +++ b/src/RealCV.Application/Interfaces/ICompanyVerifierService.cs @@ -1,7 +1,7 @@ -using TrueCV.Application.DTOs; -using TrueCV.Application.Models; +using RealCV.Application.DTOs; +using RealCV.Application.Models; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface ICompanyVerifierService { diff --git a/src/TrueCV.Application/Interfaces/IEducationVerifierService.cs b/src/RealCV.Application/Interfaces/IEducationVerifierService.cs similarity index 85% rename from src/TrueCV.Application/Interfaces/IEducationVerifierService.cs rename to src/RealCV.Application/Interfaces/IEducationVerifierService.cs index 0620cc9..b57d21e 100644 --- a/src/TrueCV.Application/Interfaces/IEducationVerifierService.cs +++ b/src/RealCV.Application/Interfaces/IEducationVerifierService.cs @@ -1,6 +1,6 @@ -using TrueCV.Application.Models; +using RealCV.Application.Models; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface IEducationVerifierService { diff --git a/src/TrueCV.Application/Interfaces/IFileStorageService.cs b/src/RealCV.Application/Interfaces/IFileStorageService.cs similarity index 82% rename from src/TrueCV.Application/Interfaces/IFileStorageService.cs rename to src/RealCV.Application/Interfaces/IFileStorageService.cs index 82df341..4c33962 100644 --- a/src/TrueCV.Application/Interfaces/IFileStorageService.cs +++ b/src/RealCV.Application/Interfaces/IFileStorageService.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface IFileStorageService { diff --git a/src/TrueCV.Application/Interfaces/IStripeService.cs b/src/RealCV.Application/Interfaces/IStripeService.cs similarity index 82% rename from src/TrueCV.Application/Interfaces/IStripeService.cs rename to src/RealCV.Application/Interfaces/IStripeService.cs index a9a02b6..a67fa17 100644 --- a/src/TrueCV.Application/Interfaces/IStripeService.cs +++ b/src/RealCV.Application/Interfaces/IStripeService.cs @@ -1,6 +1,6 @@ -using TrueCV.Domain.Enums; +using RealCV.Domain.Enums; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface IStripeService { diff --git a/src/TrueCV.Application/Interfaces/ISubscriptionService.cs b/src/RealCV.Application/Interfaces/ISubscriptionService.cs similarity index 77% rename from src/TrueCV.Application/Interfaces/ISubscriptionService.cs rename to src/RealCV.Application/Interfaces/ISubscriptionService.cs index 18e769d..9eb837c 100644 --- a/src/TrueCV.Application/Interfaces/ISubscriptionService.cs +++ b/src/RealCV.Application/Interfaces/ISubscriptionService.cs @@ -1,6 +1,6 @@ -using TrueCV.Application.DTOs; +using RealCV.Application.DTOs; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface ISubscriptionService { diff --git a/src/TrueCV.Application/Interfaces/ITimelineAnalyserService.cs b/src/RealCV.Application/Interfaces/ITimelineAnalyserService.cs similarity index 62% rename from src/TrueCV.Application/Interfaces/ITimelineAnalyserService.cs rename to src/RealCV.Application/Interfaces/ITimelineAnalyserService.cs index 95852a4..d07ffc1 100644 --- a/src/TrueCV.Application/Interfaces/ITimelineAnalyserService.cs +++ b/src/RealCV.Application/Interfaces/ITimelineAnalyserService.cs @@ -1,6 +1,6 @@ -using TrueCV.Application.Models; +using RealCV.Application.Models; -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface ITimelineAnalyserService { diff --git a/src/TrueCV.Application/Interfaces/IUserContextService.cs b/src/RealCV.Application/Interfaces/IUserContextService.cs similarity index 66% rename from src/TrueCV.Application/Interfaces/IUserContextService.cs rename to src/RealCV.Application/Interfaces/IUserContextService.cs index 863cdd8..d965460 100644 --- a/src/TrueCV.Application/Interfaces/IUserContextService.cs +++ b/src/RealCV.Application/Interfaces/IUserContextService.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Interfaces; +namespace RealCV.Application.Interfaces; public interface IUserContextService { diff --git a/src/TrueCV.Application/Models/CVData.cs b/src/RealCV.Application/Models/CVData.cs similarity index 90% rename from src/TrueCV.Application/Models/CVData.cs rename to src/RealCV.Application/Models/CVData.cs index 65d2447..2c5bb70 100644 --- a/src/TrueCV.Application/Models/CVData.cs +++ b/src/RealCV.Application/Models/CVData.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record CVData { diff --git a/src/TrueCV.Application/Models/CompanyVerificationResult.cs b/src/RealCV.Application/Models/CompanyVerificationResult.cs similarity index 97% rename from src/TrueCV.Application/Models/CompanyVerificationResult.cs rename to src/RealCV.Application/Models/CompanyVerificationResult.cs index 129a30f..dba58e4 100644 --- a/src/TrueCV.Application/Models/CompanyVerificationResult.cs +++ b/src/RealCV.Application/Models/CompanyVerificationResult.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record CompanyVerificationResult { diff --git a/src/TrueCV.Application/Models/EducationEntry.cs b/src/RealCV.Application/Models/EducationEntry.cs similarity index 89% rename from src/TrueCV.Application/Models/EducationEntry.cs rename to src/RealCV.Application/Models/EducationEntry.cs index 1f9fd5d..612209e 100644 --- a/src/TrueCV.Application/Models/EducationEntry.cs +++ b/src/RealCV.Application/Models/EducationEntry.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record EducationEntry { diff --git a/src/TrueCV.Application/Models/EducationVerificationResult.cs b/src/RealCV.Application/Models/EducationVerificationResult.cs similarity index 95% rename from src/TrueCV.Application/Models/EducationVerificationResult.cs rename to src/RealCV.Application/Models/EducationVerificationResult.cs index a4f8e3c..7e5acf8 100644 --- a/src/TrueCV.Application/Models/EducationVerificationResult.cs +++ b/src/RealCV.Application/Models/EducationVerificationResult.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record EducationVerificationResult { diff --git a/src/TrueCV.Application/Models/EmploymentEntry.cs b/src/RealCV.Application/Models/EmploymentEntry.cs similarity index 90% rename from src/TrueCV.Application/Models/EmploymentEntry.cs rename to src/RealCV.Application/Models/EmploymentEntry.cs index a261e08..c4ed289 100644 --- a/src/TrueCV.Application/Models/EmploymentEntry.cs +++ b/src/RealCV.Application/Models/EmploymentEntry.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record EmploymentEntry { diff --git a/src/TrueCV.Application/Models/FlagResult.cs b/src/RealCV.Application/Models/FlagResult.cs similarity index 88% rename from src/TrueCV.Application/Models/FlagResult.cs rename to src/RealCV.Application/Models/FlagResult.cs index 6b4dbb3..67c6a59 100644 --- a/src/TrueCV.Application/Models/FlagResult.cs +++ b/src/RealCV.Application/Models/FlagResult.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record FlagResult { diff --git a/src/TrueCV.Application/Models/SemanticMatchResult.cs b/src/RealCV.Application/Models/SemanticMatchResult.cs similarity index 96% rename from src/TrueCV.Application/Models/SemanticMatchResult.cs rename to src/RealCV.Application/Models/SemanticMatchResult.cs index dae6857..2610e16 100644 --- a/src/TrueCV.Application/Models/SemanticMatchResult.cs +++ b/src/RealCV.Application/Models/SemanticMatchResult.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public record SemanticMatchResult { diff --git a/src/TrueCV.Application/Models/TimelineAnalysisResult.cs b/src/RealCV.Application/Models/TimelineAnalysisResult.cs similarity index 88% rename from src/TrueCV.Application/Models/TimelineAnalysisResult.cs rename to src/RealCV.Application/Models/TimelineAnalysisResult.cs index e658ae3..4727566 100644 --- a/src/TrueCV.Application/Models/TimelineAnalysisResult.cs +++ b/src/RealCV.Application/Models/TimelineAnalysisResult.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record TimelineAnalysisResult { diff --git a/src/TrueCV.Application/Models/TimelineGap.cs b/src/RealCV.Application/Models/TimelineGap.cs similarity index 83% rename from src/TrueCV.Application/Models/TimelineGap.cs rename to src/RealCV.Application/Models/TimelineGap.cs index 1be5244..ec20ab1 100644 --- a/src/TrueCV.Application/Models/TimelineGap.cs +++ b/src/RealCV.Application/Models/TimelineGap.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record TimelineGap { diff --git a/src/TrueCV.Application/Models/TimelineOverlap.cs b/src/RealCV.Application/Models/TimelineOverlap.cs similarity index 89% rename from src/TrueCV.Application/Models/TimelineOverlap.cs rename to src/RealCV.Application/Models/TimelineOverlap.cs index 5a08f00..f7e8c0c 100644 --- a/src/TrueCV.Application/Models/TimelineOverlap.cs +++ b/src/RealCV.Application/Models/TimelineOverlap.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record TimelineOverlap { diff --git a/src/TrueCV.Application/Models/VeracityReport.cs b/src/RealCV.Application/Models/VeracityReport.cs similarity index 93% rename from src/TrueCV.Application/Models/VeracityReport.cs rename to src/RealCV.Application/Models/VeracityReport.cs index ce745ee..f1f329c 100644 --- a/src/TrueCV.Application/Models/VeracityReport.cs +++ b/src/RealCV.Application/Models/VeracityReport.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Application.Models; +namespace RealCV.Application.Models; public sealed record VeracityReport { diff --git a/src/TrueCV.Application/TrueCV.Application.csproj b/src/RealCV.Application/RealCV.Application.csproj similarity index 79% rename from src/TrueCV.Application/TrueCV.Application.csproj rename to src/RealCV.Application/RealCV.Application.csproj index b11888a..c2bc2bc 100644 --- a/src/TrueCV.Application/TrueCV.Application.csproj +++ b/src/RealCV.Application/RealCV.Application.csproj @@ -1,7 +1,7 @@  - + diff --git a/src/TrueCV.Domain/Constants/PlanLimits.cs b/src/RealCV.Domain/Constants/PlanLimits.cs similarity index 92% rename from src/TrueCV.Domain/Constants/PlanLimits.cs rename to src/RealCV.Domain/Constants/PlanLimits.cs index 4fcf0eb..f4df369 100644 --- a/src/TrueCV.Domain/Constants/PlanLimits.cs +++ b/src/RealCV.Domain/Constants/PlanLimits.cs @@ -1,6 +1,6 @@ -using TrueCV.Domain.Enums; +using RealCV.Domain.Enums; -namespace TrueCV.Domain.Constants; +namespace RealCV.Domain.Constants; public static class PlanLimits { diff --git a/src/TrueCV.Domain/Entities/AuditLog.cs b/src/RealCV.Domain/Entities/AuditLog.cs similarity index 93% rename from src/TrueCV.Domain/Entities/AuditLog.cs rename to src/RealCV.Domain/Entities/AuditLog.cs index fd7de1f..1bd9c10 100644 --- a/src/TrueCV.Domain/Entities/AuditLog.cs +++ b/src/RealCV.Domain/Entities/AuditLog.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace TrueCV.Domain.Entities; +namespace RealCV.Domain.Entities; public class AuditLog { diff --git a/src/TrueCV.Domain/Entities/CVCheck.cs b/src/RealCV.Domain/Entities/CVCheck.cs similarity index 92% rename from src/TrueCV.Domain/Entities/CVCheck.cs rename to src/RealCV.Domain/Entities/CVCheck.cs index 500f68f..2db5dff 100644 --- a/src/TrueCV.Domain/Entities/CVCheck.cs +++ b/src/RealCV.Domain/Entities/CVCheck.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; -using TrueCV.Domain.Enums; +using RealCV.Domain.Enums; -namespace TrueCV.Domain.Entities; +namespace RealCV.Domain.Entities; public class CVCheck { diff --git a/src/TrueCV.Domain/Entities/CVFlag.cs b/src/RealCV.Domain/Entities/CVFlag.cs similarity index 91% rename from src/TrueCV.Domain/Entities/CVFlag.cs rename to src/RealCV.Domain/Entities/CVFlag.cs index eb18dcd..36230ba 100644 --- a/src/TrueCV.Domain/Entities/CVFlag.cs +++ b/src/RealCV.Domain/Entities/CVFlag.cs @@ -1,8 +1,8 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; -using TrueCV.Domain.Enums; +using RealCV.Domain.Enums; -namespace TrueCV.Domain.Entities; +namespace RealCV.Domain.Entities; public class CVFlag { diff --git a/src/TrueCV.Domain/Entities/CompanyCache.cs b/src/RealCV.Domain/Entities/CompanyCache.cs similarity index 95% rename from src/TrueCV.Domain/Entities/CompanyCache.cs rename to src/RealCV.Domain/Entities/CompanyCache.cs index 8db3c2d..1ed1661 100644 --- a/src/TrueCV.Domain/Entities/CompanyCache.cs +++ b/src/RealCV.Domain/Entities/CompanyCache.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace TrueCV.Domain.Entities; +namespace RealCV.Domain.Entities; public class CompanyCache { diff --git a/src/TrueCV.Domain/Enums/CheckStatus.cs b/src/RealCV.Domain/Enums/CheckStatus.cs similarity index 73% rename from src/TrueCV.Domain/Enums/CheckStatus.cs rename to src/RealCV.Domain/Enums/CheckStatus.cs index f23c003..7e07cdf 100644 --- a/src/TrueCV.Domain/Enums/CheckStatus.cs +++ b/src/RealCV.Domain/Enums/CheckStatus.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Domain.Enums; +namespace RealCV.Domain.Enums; public enum CheckStatus { diff --git a/src/TrueCV.Domain/Enums/FlagCategory.cs b/src/RealCV.Domain/Enums/FlagCategory.cs similarity index 74% rename from src/TrueCV.Domain/Enums/FlagCategory.cs rename to src/RealCV.Domain/Enums/FlagCategory.cs index 24d0bdb..6c71534 100644 --- a/src/TrueCV.Domain/Enums/FlagCategory.cs +++ b/src/RealCV.Domain/Enums/FlagCategory.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Domain.Enums; +namespace RealCV.Domain.Enums; public enum FlagCategory { diff --git a/src/TrueCV.Domain/Enums/FlagSeverity.cs b/src/RealCV.Domain/Enums/FlagSeverity.cs similarity index 68% rename from src/TrueCV.Domain/Enums/FlagSeverity.cs rename to src/RealCV.Domain/Enums/FlagSeverity.cs index 3cddfd7..54e3ffd 100644 --- a/src/TrueCV.Domain/Enums/FlagSeverity.cs +++ b/src/RealCV.Domain/Enums/FlagSeverity.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Domain.Enums; +namespace RealCV.Domain.Enums; public enum FlagSeverity { diff --git a/src/TrueCV.Domain/Enums/UserPlan.cs b/src/RealCV.Domain/Enums/UserPlan.cs similarity index 69% rename from src/TrueCV.Domain/Enums/UserPlan.cs rename to src/RealCV.Domain/Enums/UserPlan.cs index 461f14f..6217c93 100644 --- a/src/TrueCV.Domain/Enums/UserPlan.cs +++ b/src/RealCV.Domain/Enums/UserPlan.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Domain.Enums; +namespace RealCV.Domain.Enums; public enum UserPlan { diff --git a/src/TrueCV.Domain/Exceptions/QuotaExceededException.cs b/src/RealCV.Domain/Exceptions/QuotaExceededException.cs similarity index 91% rename from src/TrueCV.Domain/Exceptions/QuotaExceededException.cs rename to src/RealCV.Domain/Exceptions/QuotaExceededException.cs index efba9cb..69c575e 100644 --- a/src/TrueCV.Domain/Exceptions/QuotaExceededException.cs +++ b/src/RealCV.Domain/Exceptions/QuotaExceededException.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Domain.Exceptions; +namespace RealCV.Domain.Exceptions; public class QuotaExceededException : Exception { diff --git a/src/TrueCV.Domain/TrueCV.Domain.csproj b/src/RealCV.Domain/RealCV.Domain.csproj similarity index 100% rename from src/TrueCV.Domain/TrueCV.Domain.csproj rename to src/RealCV.Domain/RealCV.Domain.csproj diff --git a/src/TrueCV.Infrastructure/Configuration/AnthropicSettings.cs b/src/RealCV.Infrastructure/Configuration/AnthropicSettings.cs similarity index 75% rename from src/TrueCV.Infrastructure/Configuration/AnthropicSettings.cs rename to src/RealCV.Infrastructure/Configuration/AnthropicSettings.cs index 6923021..61c5378 100644 --- a/src/TrueCV.Infrastructure/Configuration/AnthropicSettings.cs +++ b/src/RealCV.Infrastructure/Configuration/AnthropicSettings.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Infrastructure.Configuration; +namespace RealCV.Infrastructure.Configuration; public sealed class AnthropicSettings { diff --git a/src/TrueCV.Infrastructure/Configuration/AzureBlobSettings.cs b/src/RealCV.Infrastructure/Configuration/AzureBlobSettings.cs similarity index 81% rename from src/TrueCV.Infrastructure/Configuration/AzureBlobSettings.cs rename to src/RealCV.Infrastructure/Configuration/AzureBlobSettings.cs index 42e9c8a..32d49b5 100644 --- a/src/TrueCV.Infrastructure/Configuration/AzureBlobSettings.cs +++ b/src/RealCV.Infrastructure/Configuration/AzureBlobSettings.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Infrastructure.Configuration; +namespace RealCV.Infrastructure.Configuration; public sealed class AzureBlobSettings { diff --git a/src/TrueCV.Infrastructure/Configuration/CompaniesHouseSettings.cs b/src/RealCV.Infrastructure/Configuration/CompaniesHouseSettings.cs similarity index 81% rename from src/TrueCV.Infrastructure/Configuration/CompaniesHouseSettings.cs rename to src/RealCV.Infrastructure/Configuration/CompaniesHouseSettings.cs index 83a76fb..d4fa4a7 100644 --- a/src/TrueCV.Infrastructure/Configuration/CompaniesHouseSettings.cs +++ b/src/RealCV.Infrastructure/Configuration/CompaniesHouseSettings.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Infrastructure.Configuration; +namespace RealCV.Infrastructure.Configuration; public sealed class CompaniesHouseSettings { diff --git a/src/TrueCV.Infrastructure/Configuration/LocalStorageSettings.cs b/src/RealCV.Infrastructure/Configuration/LocalStorageSettings.cs similarity index 77% rename from src/TrueCV.Infrastructure/Configuration/LocalStorageSettings.cs rename to src/RealCV.Infrastructure/Configuration/LocalStorageSettings.cs index 7ab9685..8352312 100644 --- a/src/TrueCV.Infrastructure/Configuration/LocalStorageSettings.cs +++ b/src/RealCV.Infrastructure/Configuration/LocalStorageSettings.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Infrastructure.Configuration; +namespace RealCV.Infrastructure.Configuration; public sealed class LocalStorageSettings { diff --git a/src/TrueCV.Infrastructure/Configuration/StripeSettings.cs b/src/RealCV.Infrastructure/Configuration/StripeSettings.cs similarity index 91% rename from src/TrueCV.Infrastructure/Configuration/StripeSettings.cs rename to src/RealCV.Infrastructure/Configuration/StripeSettings.cs index 4ae985c..1e82544 100644 --- a/src/TrueCV.Infrastructure/Configuration/StripeSettings.cs +++ b/src/RealCV.Infrastructure/Configuration/StripeSettings.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Infrastructure.Configuration; +namespace RealCV.Infrastructure.Configuration; public class StripeSettings { diff --git a/src/TrueCV.Infrastructure/Data/ApplicationDbContext.cs b/src/RealCV.Infrastructure/Data/ApplicationDbContext.cs similarity index 97% rename from src/TrueCV.Infrastructure/Data/ApplicationDbContext.cs rename to src/RealCV.Infrastructure/Data/ApplicationDbContext.cs index cfcdd75..c9f5b46 100644 --- a/src/TrueCV.Infrastructure/Data/ApplicationDbContext.cs +++ b/src/RealCV.Infrastructure/Data/ApplicationDbContext.cs @@ -1,10 +1,10 @@ using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; -using TrueCV.Domain.Entities; -using TrueCV.Infrastructure.Identity; +using RealCV.Domain.Entities; +using RealCV.Infrastructure.Identity; -namespace TrueCV.Infrastructure.Data; +namespace RealCV.Infrastructure.Data; public class ApplicationDbContext : IdentityDbContext, Guid> { diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.Designer.cs b/src/RealCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.Designer.cs similarity index 93% rename from src/TrueCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.Designer.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.Designer.cs index b239760..8d033cd 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.Designer.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.Designer.cs @@ -5,11 +5,11 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using TrueCV.Infrastructure.Data; +using RealCV.Infrastructure.Data; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20260118182916_InitialCreate")] @@ -156,7 +156,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AspNetUserTokens", (string)null); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -211,7 +211,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVChecks"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -251,7 +251,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVFlags"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CompanyCache", b => + modelBuilder.Entity("RealCV.Domain.Entities.CompanyCache", b => { b.Property("CompanyNumber") .HasMaxLength(32) @@ -281,7 +281,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CompanyCache"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.User", b => + modelBuilder.Entity("RealCV.Domain.Entities.User", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -307,7 +307,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("User"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -396,7 +396,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -405,7 +405,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -420,7 +420,7 @@ namespace TrueCV.Infrastructure.Data.Migrations .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -429,29 +429,29 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany("CVChecks") .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("TrueCV.Domain.Entities.User", null) + b.HasOne("RealCV.Domain.Entities.User", null) .WithMany("CVChecks") .HasForeignKey("UserId1"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { - b.HasOne("TrueCV.Domain.Entities.CVCheck", "CVCheck") + b.HasOne("RealCV.Domain.Entities.CVCheck", "CVCheck") .WithMany("Flags") .HasForeignKey("CVCheckId") .OnDelete(DeleteBehavior.Cascade) @@ -460,17 +460,17 @@ namespace TrueCV.Infrastructure.Data.Migrations b.Navigation("CVCheck"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Navigation("Flags"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.User", b => + modelBuilder.Entity("RealCV.Domain.Entities.User", b => { b.Navigation("CVChecks"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Navigation("CVChecks"); }); diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.cs b/src/RealCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.cs similarity index 99% rename from src/TrueCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.cs index 2e0ad31..0eac65b 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260118182916_InitialCreate.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { /// public partial class InitialCreate : Migration diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.Designer.cs b/src/RealCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.Designer.cs similarity index 94% rename from src/TrueCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.Designer.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.Designer.cs index f0a3a79..104c677 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.Designer.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.Designer.cs @@ -5,11 +5,11 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using TrueCV.Infrastructure.Data; +using RealCV.Infrastructure.Data; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20260120191035_AddProcessingStageToCV")] @@ -156,7 +156,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AspNetUserTokens", (string)null); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -210,7 +210,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVChecks"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -250,7 +250,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVFlags"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CompanyCache", b => + modelBuilder.Entity("RealCV.Domain.Entities.CompanyCache", b => { b.Property("CompanyNumber") .HasMaxLength(32) @@ -292,7 +292,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CompanyCache"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -381,7 +381,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -390,7 +390,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -405,7 +405,7 @@ namespace TrueCV.Infrastructure.Data.Migrations .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -414,25 +414,25 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany("CVChecks") .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { - b.HasOne("TrueCV.Domain.Entities.CVCheck", "CVCheck") + b.HasOne("RealCV.Domain.Entities.CVCheck", "CVCheck") .WithMany("Flags") .HasForeignKey("CVCheckId") .OnDelete(DeleteBehavior.Cascade) @@ -441,12 +441,12 @@ namespace TrueCV.Infrastructure.Data.Migrations b.Navigation("CVCheck"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Navigation("Flags"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Navigation("CVChecks"); }); diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.cs b/src/RealCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.cs similarity index 98% rename from src/TrueCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.cs index 38e8b9e..b3c0379 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260120191035_AddProcessingStageToCV.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { /// public partial class AddProcessingStageToCV : Migration diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.Designer.cs b/src/RealCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.Designer.cs similarity index 94% rename from src/TrueCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.Designer.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.Designer.cs index 306cf79..868e9cf 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.Designer.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.Designer.cs @@ -5,11 +5,11 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using TrueCV.Infrastructure.Data; +using RealCV.Infrastructure.Data; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20260120194532_AddAuditLogTable")] @@ -156,7 +156,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AspNetUserTokens", (string)null); }); - modelBuilder.Entity("TrueCV.Domain.Entities.AuditLog", b => + modelBuilder.Entity("RealCV.Domain.Entities.AuditLog", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -202,7 +202,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AuditLogs"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -256,7 +256,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVChecks"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -296,7 +296,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVFlags"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CompanyCache", b => + modelBuilder.Entity("RealCV.Domain.Entities.CompanyCache", b => { b.Property("CompanyNumber") .HasMaxLength(32) @@ -338,7 +338,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CompanyCache"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -427,7 +427,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -436,7 +436,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -451,7 +451,7 @@ namespace TrueCV.Infrastructure.Data.Migrations .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -460,25 +460,25 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany("CVChecks") .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { - b.HasOne("TrueCV.Domain.Entities.CVCheck", "CVCheck") + b.HasOne("RealCV.Domain.Entities.CVCheck", "CVCheck") .WithMany("Flags") .HasForeignKey("CVCheckId") .OnDelete(DeleteBehavior.Cascade) @@ -487,12 +487,12 @@ namespace TrueCV.Infrastructure.Data.Migrations b.Navigation("CVCheck"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Navigation("Flags"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Navigation("CVChecks"); }); diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.cs b/src/RealCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.cs similarity index 97% rename from src/TrueCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.cs index 115e53b..6383596 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260120194532_AddAuditLogTable.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { /// public partial class AddAuditLogTable : Migration diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.Designer.cs b/src/RealCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.Designer.cs similarity index 94% rename from src/TrueCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.Designer.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.Designer.cs index 5ec2ee5..6eca848 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.Designer.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.Designer.cs @@ -5,11 +5,11 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using TrueCV.Infrastructure.Data; +using RealCV.Infrastructure.Data; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20260121115517_AddStripeSubscriptionFields")] @@ -156,7 +156,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AspNetUserTokens", (string)null); }); - modelBuilder.Entity("TrueCV.Domain.Entities.AuditLog", b => + modelBuilder.Entity("RealCV.Domain.Entities.AuditLog", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -202,7 +202,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AuditLogs"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -256,7 +256,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVChecks"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -296,7 +296,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVFlags"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CompanyCache", b => + modelBuilder.Entity("RealCV.Domain.Entities.CompanyCache", b => { b.Property("CompanyNumber") .HasMaxLength(32) @@ -338,7 +338,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CompanyCache"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -444,7 +444,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -453,7 +453,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -468,7 +468,7 @@ namespace TrueCV.Infrastructure.Data.Migrations .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -477,25 +477,25 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany("CVChecks") .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { - b.HasOne("TrueCV.Domain.Entities.CVCheck", "CVCheck") + b.HasOne("RealCV.Domain.Entities.CVCheck", "CVCheck") .WithMany("Flags") .HasForeignKey("CVCheckId") .OnDelete(DeleteBehavior.Cascade) @@ -504,12 +504,12 @@ namespace TrueCV.Infrastructure.Data.Migrations b.Navigation("CVCheck"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Navigation("Flags"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Navigation("CVChecks"); }); diff --git a/src/TrueCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.cs b/src/RealCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.cs similarity index 97% rename from src/TrueCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.cs rename to src/RealCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.cs index cbffc71..2e5501e 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/20260121115517_AddStripeSubscriptionFields.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { /// public partial class AddStripeSubscriptionFields : Migration diff --git a/src/TrueCV.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs b/src/RealCV.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs similarity index 94% rename from src/TrueCV.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs rename to src/RealCV.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs index ef6fce3..4ed35fc 100644 --- a/src/TrueCV.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/src/RealCV.Infrastructure/Data/Migrations/ApplicationDbContextModelSnapshot.cs @@ -4,11 +4,11 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using TrueCV.Infrastructure.Data; +using RealCV.Infrastructure.Data; #nullable disable -namespace TrueCV.Infrastructure.Data.Migrations +namespace RealCV.Infrastructure.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] partial class ApplicationDbContextModelSnapshot : ModelSnapshot @@ -153,7 +153,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AspNetUserTokens", (string)null); }); - modelBuilder.Entity("TrueCV.Domain.Entities.AuditLog", b => + modelBuilder.Entity("RealCV.Domain.Entities.AuditLog", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -199,7 +199,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("AuditLogs"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -253,7 +253,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVChecks"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -293,7 +293,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CVFlags"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CompanyCache", b => + modelBuilder.Entity("RealCV.Domain.Entities.CompanyCache", b => { b.Property("CompanyNumber") .HasMaxLength(32) @@ -335,7 +335,7 @@ namespace TrueCV.Infrastructure.Data.Migrations b.ToTable("CompanyCache"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -441,7 +441,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -450,7 +450,7 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -465,7 +465,7 @@ namespace TrueCV.Infrastructure.Data.Migrations .OnDelete(DeleteBehavior.Cascade) .IsRequired(); - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) @@ -474,25 +474,25 @@ namespace TrueCV.Infrastructure.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { - b.HasOne("TrueCV.Infrastructure.Identity.ApplicationUser", null) + b.HasOne("RealCV.Infrastructure.Identity.ApplicationUser", null) .WithMany("CVChecks") .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVFlag", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVFlag", b => { - b.HasOne("TrueCV.Domain.Entities.CVCheck", "CVCheck") + b.HasOne("RealCV.Domain.Entities.CVCheck", "CVCheck") .WithMany("Flags") .HasForeignKey("CVCheckId") .OnDelete(DeleteBehavior.Cascade) @@ -501,12 +501,12 @@ namespace TrueCV.Infrastructure.Data.Migrations b.Navigation("CVCheck"); }); - modelBuilder.Entity("TrueCV.Domain.Entities.CVCheck", b => + modelBuilder.Entity("RealCV.Domain.Entities.CVCheck", b => { b.Navigation("Flags"); }); - modelBuilder.Entity("TrueCV.Infrastructure.Identity.ApplicationUser", b => + modelBuilder.Entity("RealCV.Infrastructure.Identity.ApplicationUser", b => { b.Navigation("CVChecks"); }); diff --git a/src/TrueCV.Infrastructure/DependencyInjection.cs b/src/RealCV.Infrastructure/DependencyInjection.cs similarity index 95% rename from src/TrueCV.Infrastructure/DependencyInjection.cs rename to src/RealCV.Infrastructure/DependencyInjection.cs index 76e5974..1c58e41 100644 --- a/src/TrueCV.Infrastructure/DependencyInjection.cs +++ b/src/RealCV.Infrastructure/DependencyInjection.cs @@ -6,14 +6,14 @@ using Microsoft.Extensions.DependencyInjection; using Polly; using Polly.Extensions.Http; using Stripe; -using TrueCV.Application.Interfaces; -using TrueCV.Infrastructure.Configuration; -using TrueCV.Infrastructure.Data; -using TrueCV.Infrastructure.ExternalApis; -using TrueCV.Infrastructure.Jobs; -using TrueCV.Infrastructure.Services; +using RealCV.Application.Interfaces; +using RealCV.Infrastructure.Configuration; +using RealCV.Infrastructure.Data; +using RealCV.Infrastructure.ExternalApis; +using RealCV.Infrastructure.Jobs; +using RealCV.Infrastructure.Services; -namespace TrueCV.Infrastructure; +namespace RealCV.Infrastructure; public static class DependencyInjection { diff --git a/src/TrueCV.Infrastructure/ExternalApis/CompaniesHouseClient.cs b/src/RealCV.Infrastructure/ExternalApis/CompaniesHouseClient.cs similarity index 98% rename from src/TrueCV.Infrastructure/ExternalApis/CompaniesHouseClient.cs rename to src/RealCV.Infrastructure/ExternalApis/CompaniesHouseClient.cs index ddff207..49c3c78 100644 --- a/src/TrueCV.Infrastructure/ExternalApis/CompaniesHouseClient.cs +++ b/src/RealCV.Infrastructure/ExternalApis/CompaniesHouseClient.cs @@ -6,10 +6,10 @@ using System.Text.Json; using System.Text.Json.Serialization; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using TrueCV.Application.DTOs; -using TrueCV.Infrastructure.Configuration; +using RealCV.Application.DTOs; +using RealCV.Infrastructure.Configuration; -namespace TrueCV.Infrastructure.ExternalApis; +namespace RealCV.Infrastructure.ExternalApis; public sealed class CompaniesHouseClient { diff --git a/src/TrueCV.Infrastructure/Helpers/JsonResponseHelper.cs b/src/RealCV.Infrastructure/Helpers/JsonResponseHelper.cs similarity index 94% rename from src/TrueCV.Infrastructure/Helpers/JsonResponseHelper.cs rename to src/RealCV.Infrastructure/Helpers/JsonResponseHelper.cs index 8329068..21d1654 100644 --- a/src/TrueCV.Infrastructure/Helpers/JsonResponseHelper.cs +++ b/src/RealCV.Infrastructure/Helpers/JsonResponseHelper.cs @@ -1,4 +1,4 @@ -namespace TrueCV.Infrastructure.Helpers; +namespace RealCV.Infrastructure.Helpers; /// /// Helper methods for processing AI/LLM JSON responses. diff --git a/src/TrueCV.Infrastructure/Identity/ApplicationUser.cs b/src/RealCV.Infrastructure/Identity/ApplicationUser.cs similarity index 82% rename from src/TrueCV.Infrastructure/Identity/ApplicationUser.cs rename to src/RealCV.Infrastructure/Identity/ApplicationUser.cs index cd0e175..fe14861 100644 --- a/src/TrueCV.Infrastructure/Identity/ApplicationUser.cs +++ b/src/RealCV.Infrastructure/Identity/ApplicationUser.cs @@ -1,8 +1,8 @@ using Microsoft.AspNetCore.Identity; -using TrueCV.Domain.Entities; -using TrueCV.Domain.Enums; +using RealCV.Domain.Entities; +using RealCV.Domain.Enums; -namespace TrueCV.Infrastructure.Identity; +namespace RealCV.Infrastructure.Identity; public class ApplicationUser : IdentityUser { diff --git a/src/TrueCV.Infrastructure/Jobs/ProcessCVCheckJob.cs b/src/RealCV.Infrastructure/Jobs/ProcessCVCheckJob.cs similarity index 99% rename from src/TrueCV.Infrastructure/Jobs/ProcessCVCheckJob.cs rename to src/RealCV.Infrastructure/Jobs/ProcessCVCheckJob.cs index b70bd8f..ee8efe0 100644 --- a/src/TrueCV.Infrastructure/Jobs/ProcessCVCheckJob.cs +++ b/src/RealCV.Infrastructure/Jobs/ProcessCVCheckJob.cs @@ -1,14 +1,14 @@ using System.Text.Json; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using TrueCV.Application.Helpers; -using TrueCV.Application.Interfaces; -using TrueCV.Application.Models; -using TrueCV.Domain.Entities; -using TrueCV.Domain.Enums; -using TrueCV.Infrastructure.Data; +using RealCV.Application.Helpers; +using RealCV.Application.Interfaces; +using RealCV.Application.Models; +using RealCV.Domain.Entities; +using RealCV.Domain.Enums; +using RealCV.Infrastructure.Data; -namespace TrueCV.Infrastructure.Jobs; +namespace RealCV.Infrastructure.Jobs; public sealed class ProcessCVCheckJob { diff --git a/src/TrueCV.Infrastructure/Jobs/ResetMonthlyUsageJob.cs b/src/RealCV.Infrastructure/Jobs/ResetMonthlyUsageJob.cs similarity index 96% rename from src/TrueCV.Infrastructure/Jobs/ResetMonthlyUsageJob.cs rename to src/RealCV.Infrastructure/Jobs/ResetMonthlyUsageJob.cs index da370d4..0544bbf 100644 --- a/src/TrueCV.Infrastructure/Jobs/ResetMonthlyUsageJob.cs +++ b/src/RealCV.Infrastructure/Jobs/ResetMonthlyUsageJob.cs @@ -1,9 +1,9 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using TrueCV.Domain.Enums; -using TrueCV.Infrastructure.Data; +using RealCV.Domain.Enums; +using RealCV.Infrastructure.Data; -namespace TrueCV.Infrastructure.Jobs; +namespace RealCV.Infrastructure.Jobs; /// /// Hangfire job that resets monthly CV check usage for users whose billing period has ended. diff --git a/src/TrueCV.Infrastructure/TrueCV.Infrastructure.csproj b/src/RealCV.Infrastructure/RealCV.Infrastructure.csproj similarity index 95% rename from src/TrueCV.Infrastructure/TrueCV.Infrastructure.csproj rename to src/RealCV.Infrastructure/RealCV.Infrastructure.csproj index 83cfa28..270a017 100644 --- a/src/TrueCV.Infrastructure/TrueCV.Infrastructure.csproj +++ b/src/RealCV.Infrastructure/RealCV.Infrastructure.csproj @@ -1,7 +1,7 @@  - + diff --git a/src/TrueCV.Infrastructure/Services/AICompanyNameMatcherService.cs b/src/RealCV.Infrastructure/Services/AICompanyNameMatcherService.cs similarity index 96% rename from src/TrueCV.Infrastructure/Services/AICompanyNameMatcherService.cs rename to src/RealCV.Infrastructure/Services/AICompanyNameMatcherService.cs index 60d56cf..ea8c506 100644 --- a/src/TrueCV.Infrastructure/Services/AICompanyNameMatcherService.cs +++ b/src/RealCV.Infrastructure/Services/AICompanyNameMatcherService.cs @@ -3,13 +3,13 @@ using Anthropic.SDK; using Anthropic.SDK.Messaging; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using TrueCV.Application.Helpers; -using TrueCV.Application.Interfaces; -using TrueCV.Application.Models; -using TrueCV.Infrastructure.Configuration; -using TrueCV.Infrastructure.Helpers; +using RealCV.Application.Helpers; +using RealCV.Application.Interfaces; +using RealCV.Application.Models; +using RealCV.Infrastructure.Configuration; +using RealCV.Infrastructure.Helpers; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class AICompanyNameMatcherService : ICompanyNameMatcherService { diff --git a/src/TrueCV.Infrastructure/Services/AuditService.cs b/src/RealCV.Infrastructure/Services/AuditService.cs similarity index 90% rename from src/TrueCV.Infrastructure/Services/AuditService.cs rename to src/RealCV.Infrastructure/Services/AuditService.cs index 2199281..edf9eeb 100644 --- a/src/TrueCV.Infrastructure/Services/AuditService.cs +++ b/src/RealCV.Infrastructure/Services/AuditService.cs @@ -1,9 +1,9 @@ using Microsoft.Extensions.Logging; -using TrueCV.Application.Interfaces; -using TrueCV.Domain.Entities; -using TrueCV.Infrastructure.Data; +using RealCV.Application.Interfaces; +using RealCV.Domain.Entities; +using RealCV.Infrastructure.Data; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class AuditService : IAuditService { diff --git a/src/TrueCV.Infrastructure/Services/CVCheckService.cs b/src/RealCV.Infrastructure/Services/CVCheckService.cs similarity index 95% rename from src/TrueCV.Infrastructure/Services/CVCheckService.cs rename to src/RealCV.Infrastructure/Services/CVCheckService.cs index 52dbd48..7c676bb 100644 --- a/src/TrueCV.Infrastructure/Services/CVCheckService.cs +++ b/src/RealCV.Infrastructure/Services/CVCheckService.cs @@ -2,17 +2,17 @@ using System.Text.Json; using Hangfire; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using TrueCV.Application.DTOs; -using TrueCV.Application.Helpers; -using TrueCV.Application.Interfaces; -using TrueCV.Application.Models; -using TrueCV.Domain.Entities; -using TrueCV.Domain.Enums; -using TrueCV.Domain.Exceptions; -using TrueCV.Infrastructure.Data; -using TrueCV.Infrastructure.Jobs; +using RealCV.Application.DTOs; +using RealCV.Application.Helpers; +using RealCV.Application.Interfaces; +using RealCV.Application.Models; +using RealCV.Domain.Entities; +using RealCV.Domain.Enums; +using RealCV.Domain.Exceptions; +using RealCV.Infrastructure.Data; +using RealCV.Infrastructure.Jobs; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class CVCheckService : ICVCheckService { diff --git a/src/TrueCV.Infrastructure/Services/CVParserService.cs b/src/RealCV.Infrastructure/Services/CVParserService.cs similarity index 97% rename from src/TrueCV.Infrastructure/Services/CVParserService.cs rename to src/RealCV.Infrastructure/Services/CVParserService.cs index 7c2634a..ccd3867 100644 --- a/src/TrueCV.Infrastructure/Services/CVParserService.cs +++ b/src/RealCV.Infrastructure/Services/CVParserService.cs @@ -6,14 +6,14 @@ using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Wordprocessing; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using TrueCV.Application.Helpers; -using TrueCV.Application.Interfaces; -using TrueCV.Application.Models; -using TrueCV.Infrastructure.Configuration; -using TrueCV.Infrastructure.Helpers; +using RealCV.Application.Helpers; +using RealCV.Application.Interfaces; +using RealCV.Application.Models; +using RealCV.Infrastructure.Configuration; +using RealCV.Infrastructure.Helpers; using UglyToad.PdfPig; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class CVParserService : ICVParserService { diff --git a/src/TrueCV.Infrastructure/Services/CompanyVerifierService.cs b/src/RealCV.Infrastructure/Services/CompanyVerifierService.cs similarity index 99% rename from src/TrueCV.Infrastructure/Services/CompanyVerifierService.cs rename to src/RealCV.Infrastructure/Services/CompanyVerifierService.cs index 60f1166..5206b4c 100644 --- a/src/TrueCV.Infrastructure/Services/CompanyVerifierService.cs +++ b/src/RealCV.Infrastructure/Services/CompanyVerifierService.cs @@ -2,15 +2,15 @@ using System.Text.Json; using FuzzySharp; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using TrueCV.Application.DTOs; -using TrueCV.Application.Helpers; -using TrueCV.Application.Interfaces; -using TrueCV.Application.Models; -using TrueCV.Domain.Entities; -using TrueCV.Infrastructure.Data; -using TrueCV.Infrastructure.ExternalApis; +using RealCV.Application.DTOs; +using RealCV.Application.Helpers; +using RealCV.Application.Interfaces; +using RealCV.Application.Models; +using RealCV.Domain.Entities; +using RealCV.Infrastructure.Data; +using RealCV.Infrastructure.ExternalApis; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class CompanyVerifierService : ICompanyVerifierService { diff --git a/src/TrueCV.Infrastructure/Services/EducationVerifierService.cs b/src/RealCV.Infrastructure/Services/EducationVerifierService.cs similarity index 98% rename from src/TrueCV.Infrastructure/Services/EducationVerifierService.cs rename to src/RealCV.Infrastructure/Services/EducationVerifierService.cs index ec3c6da..26be4ba 100644 --- a/src/TrueCV.Infrastructure/Services/EducationVerifierService.cs +++ b/src/RealCV.Infrastructure/Services/EducationVerifierService.cs @@ -1,8 +1,8 @@ -using TrueCV.Application.Data; -using TrueCV.Application.Interfaces; -using TrueCV.Application.Models; +using RealCV.Application.Data; +using RealCV.Application.Interfaces; +using RealCV.Application.Models; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class EducationVerifierService : IEducationVerifierService { diff --git a/src/TrueCV.Infrastructure/Services/FileStorageService.cs b/src/RealCV.Infrastructure/Services/FileStorageService.cs similarity index 97% rename from src/TrueCV.Infrastructure/Services/FileStorageService.cs rename to src/RealCV.Infrastructure/Services/FileStorageService.cs index 048de4b..91972ba 100644 --- a/src/TrueCV.Infrastructure/Services/FileStorageService.cs +++ b/src/RealCV.Infrastructure/Services/FileStorageService.cs @@ -2,10 +2,10 @@ using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using TrueCV.Application.Interfaces; -using TrueCV.Infrastructure.Configuration; +using RealCV.Application.Interfaces; +using RealCV.Infrastructure.Configuration; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class FileStorageService : IFileStorageService { diff --git a/src/TrueCV.Infrastructure/Services/LocalFileStorageService.cs b/src/RealCV.Infrastructure/Services/LocalFileStorageService.cs similarity index 96% rename from src/TrueCV.Infrastructure/Services/LocalFileStorageService.cs rename to src/RealCV.Infrastructure/Services/LocalFileStorageService.cs index ed55265..89ebaa5 100644 --- a/src/TrueCV.Infrastructure/Services/LocalFileStorageService.cs +++ b/src/RealCV.Infrastructure/Services/LocalFileStorageService.cs @@ -1,9 +1,9 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using TrueCV.Application.Interfaces; -using TrueCV.Infrastructure.Configuration; +using RealCV.Application.Interfaces; +using RealCV.Infrastructure.Configuration; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class LocalFileStorageService : IFileStorageService { diff --git a/src/TrueCV.Infrastructure/Services/StripeService.cs b/src/RealCV.Infrastructure/Services/StripeService.cs similarity index 98% rename from src/TrueCV.Infrastructure/Services/StripeService.cs rename to src/RealCV.Infrastructure/Services/StripeService.cs index ba598a2..20756d1 100644 --- a/src/TrueCV.Infrastructure/Services/StripeService.cs +++ b/src/RealCV.Infrastructure/Services/StripeService.cs @@ -3,12 +3,12 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Stripe; using Stripe.Checkout; -using TrueCV.Application.Interfaces; -using TrueCV.Domain.Enums; -using TrueCV.Infrastructure.Configuration; -using TrueCV.Infrastructure.Data; +using RealCV.Application.Interfaces; +using RealCV.Domain.Enums; +using RealCV.Infrastructure.Configuration; +using RealCV.Infrastructure.Data; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class StripeService : IStripeService { diff --git a/src/TrueCV.Infrastructure/Services/SubscriptionService.cs b/src/RealCV.Infrastructure/Services/SubscriptionService.cs similarity index 95% rename from src/TrueCV.Infrastructure/Services/SubscriptionService.cs rename to src/RealCV.Infrastructure/Services/SubscriptionService.cs index 60c8ac2..2bdae02 100644 --- a/src/TrueCV.Infrastructure/Services/SubscriptionService.cs +++ b/src/RealCV.Infrastructure/Services/SubscriptionService.cs @@ -1,12 +1,12 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using TrueCV.Application.DTOs; -using TrueCV.Application.Interfaces; -using TrueCV.Domain.Constants; -using TrueCV.Domain.Enums; -using TrueCV.Infrastructure.Data; +using RealCV.Application.DTOs; +using RealCV.Application.Interfaces; +using RealCV.Domain.Constants; +using RealCV.Domain.Enums; +using RealCV.Infrastructure.Data; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class SubscriptionService : ISubscriptionService { diff --git a/src/TrueCV.Infrastructure/Services/TimelineAnalyserService.cs b/src/RealCV.Infrastructure/Services/TimelineAnalyserService.cs similarity index 98% rename from src/TrueCV.Infrastructure/Services/TimelineAnalyserService.cs rename to src/RealCV.Infrastructure/Services/TimelineAnalyserService.cs index 439408c..7482c1a 100644 --- a/src/TrueCV.Infrastructure/Services/TimelineAnalyserService.cs +++ b/src/RealCV.Infrastructure/Services/TimelineAnalyserService.cs @@ -1,8 +1,8 @@ using Microsoft.Extensions.Logging; -using TrueCV.Application.Interfaces; -using TrueCV.Application.Models; +using RealCV.Application.Interfaces; +using RealCV.Application.Models; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class TimelineAnalyserService : ITimelineAnalyserService { diff --git a/src/TrueCV.Infrastructure/Services/UserContextService.cs b/src/RealCV.Infrastructure/Services/UserContextService.cs similarity index 91% rename from src/TrueCV.Infrastructure/Services/UserContextService.cs rename to src/RealCV.Infrastructure/Services/UserContextService.cs index 79c90ee..279fcca 100644 --- a/src/TrueCV.Infrastructure/Services/UserContextService.cs +++ b/src/RealCV.Infrastructure/Services/UserContextService.cs @@ -1,8 +1,8 @@ using System.Security.Claims; using Microsoft.AspNetCore.Components.Authorization; -using TrueCV.Application.Interfaces; +using RealCV.Application.Interfaces; -namespace TrueCV.Infrastructure.Services; +namespace RealCV.Infrastructure.Services; public sealed class UserContextService : IUserContextService { diff --git a/src/TrueCV.Web/Components/App.razor b/src/RealCV.Web/Components/App.razor similarity index 90% rename from src/TrueCV.Web/Components/App.razor rename to src/RealCV.Web/Components/App.razor index f412766..848bd30 100644 --- a/src/TrueCV.Web/Components/App.razor +++ b/src/RealCV.Web/Components/App.razor @@ -7,7 +7,7 @@ - + diff --git a/src/TrueCV.Web/Components/Layout/MainLayout.razor b/src/RealCV.Web/Components/Layout/MainLayout.razor similarity index 94% rename from src/TrueCV.Web/Components/Layout/MainLayout.razor rename to src/RealCV.Web/Components/Layout/MainLayout.razor index 12a1225..1834fe0 100644 --- a/src/TrueCV.Web/Components/Layout/MainLayout.razor +++ b/src/RealCV.Web/Components/Layout/MainLayout.razor @@ -1,10 +1,10 @@ @inherits LayoutComponentBase
-