From c7dc56e2d2e6212b0e6c6bcea1625c1084893951 Mon Sep 17 00:00:00 2001 From: Trey t Date: Fri, 28 Nov 2025 21:10:48 -0600 Subject: [PATCH] Rebrand from MyCrib to Casera MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update Go module from mycrib-api to casera-api - Update all import statements across 69 Go files - Update admin panel branding (title, sidebar, login form) - Update email templates (subjects, bodies, signatures) - Update PDF report generation branding - Update Docker container names and network - Update config defaults (database name, email sender, APNS topic) - Update README and documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .env.example | 6 +- Makefile | 8 +-- README.md | 10 +-- .../src/app/(dashboard)/users/[id]/client.tsx | 6 +- admin/src/app/layout.tsx | 4 +- admin/src/components/app-sidebar.tsx | 2 +- admin/src/components/login-form.tsx | 4 +- app.json | 4 +- cmd/api/main.go | 10 +-- cmd/worker/main.go | 12 ++-- docker-compose.yml | 60 ++++++++-------- docker/docker-compose.yml | 20 +++--- go.mod | 2 +- internal/admin/handlers/admin_user_handler.go | 6 +- internal/admin/handlers/auth_handler.go | 8 +-- internal/admin/handlers/auth_token_handler.go | 4 +- internal/admin/handlers/completion_handler.go | 4 +- internal/admin/handlers/contractor_handler.go | 4 +- internal/admin/handlers/dashboard_handler.go | 2 +- internal/admin/handlers/document_handler.go | 4 +- .../admin/handlers/limitations_handler.go | 2 +- internal/admin/handlers/lookup_handler.go | 4 +- .../admin/handlers/notification_handler.go | 8 +-- .../handlers/notification_prefs_handler.go | 4 +- internal/admin/handlers/residence_handler.go | 4 +- internal/admin/handlers/settings_handler.go | 2 +- .../admin/handlers/subscription_handler.go | 4 +- internal/admin/handlers/task_handler.go | 4 +- internal/admin/handlers/user_handler.go | 4 +- internal/admin/routes.go | 12 ++-- internal/config/config.go | 6 +- internal/database/database.go | 4 +- internal/dto/requests/document.go | 2 +- internal/dto/responses/auth.go | 2 +- internal/dto/responses/contractor.go | 2 +- internal/dto/responses/document.go | 2 +- internal/dto/responses/residence.go | 2 +- internal/dto/responses/task.go | 2 +- internal/handlers/auth_handler.go | 8 +-- internal/handlers/auth_handler_test.go | 10 +-- internal/handlers/contractor_handler.go | 8 +-- internal/handlers/document_handler.go | 8 +-- internal/handlers/notification_handler.go | 6 +- internal/handlers/residence_handler.go | 8 +-- internal/handlers/residence_handler_test.go | 10 +-- internal/handlers/static_data_handler.go | 2 +- internal/handlers/subscription_handler.go | 6 +- internal/handlers/task_handler.go | 8 +-- internal/handlers/task_handler_test.go | 10 +-- internal/handlers/upload_handler.go | 2 +- internal/handlers/user_handler.go | 6 +- internal/integration/integration_test.go | 12 ++-- internal/middleware/admin_auth.go | 6 +- internal/middleware/auth.go | 4 +- internal/push/gorush.go | 2 +- internal/repositories/admin_repo.go | 2 +- internal/repositories/contractor_repo.go | 2 +- internal/repositories/document_repo.go | 2 +- internal/repositories/notification_repo.go | 2 +- internal/repositories/residence_repo.go | 2 +- internal/repositories/residence_repo_test.go | 4 +- internal/repositories/subscription_repo.go | 2 +- internal/repositories/task_repo.go | 2 +- internal/repositories/task_repo_test.go | 4 +- internal/repositories/user_repo.go | 2 +- internal/repositories/user_repo_test.go | 4 +- internal/router/router.go | 16 ++--- internal/services/auth_service.go | 10 +-- internal/services/cache_service.go | 2 +- internal/services/contractor_service.go | 8 +-- internal/services/document_service.go | 8 +-- internal/services/email_service.go | 70 +++++++++---------- internal/services/notification_service.go | 6 +- internal/services/pdf_service.go | 2 +- internal/services/residence_service.go | 10 +-- internal/services/residence_service_test.go | 8 +-- internal/services/storage_service.go | 2 +- internal/services/subscription_service.go | 4 +- internal/services/task_service.go | 8 +-- internal/services/task_service_test.go | 8 +-- internal/services/user_service.go | 4 +- internal/testutil/testutil.go | 2 +- internal/worker/jobs/email_jobs.go | 4 +- internal/worker/jobs/handler.go | 8 +-- 84 files changed, 287 insertions(+), 287 deletions(-) diff --git a/.env.example b/.env.example index 7f1da07..ff770df 100644 --- a/.env.example +++ b/.env.example @@ -6,7 +6,7 @@ TIMEZONE=UTC SECRET_KEY=your-secret-key-here-change-this-in-production # Database Settings (PostgreSQL) -POSTGRES_DB=mycrib +POSTGRES_DB=casera POSTGRES_USER=postgres POSTGRES_PASSWORD=change-this-secure-password DB_HOST=localhost @@ -26,13 +26,13 @@ EMAIL_PORT=587 EMAIL_USE_TLS=true EMAIL_HOST_USER=your-email@gmail.com EMAIL_HOST_PASSWORD=your-app-password -DEFAULT_FROM_EMAIL=MyCrib +DEFAULT_FROM_EMAIL=Casera # APNs Settings (iOS Push Notifications) APNS_AUTH_KEY_PATH=/path/to/AuthKey_XXXXXX.p8 APNS_AUTH_KEY_ID=XXXXXXXXXX APNS_TEAM_ID=XXXXXXXXXX -APNS_TOPIC=com.example.mycrib +APNS_TOPIC=com.example.casera APNS_USE_SANDBOX=true # FCM Settings (Android Push Notifications) diff --git a/Makefile b/Makefile index d9b31a4..76158e9 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ .PHONY: build run test clean deps lint docker-build docker-up docker-down migrate # Binary names -API_BINARY=mycrib-api -WORKER_BINARY=mycrib-worker -ADMIN_BINARY=mycrib-admin +API_BINARY=casera-api +WORKER_BINARY=casera-worker +ADMIN_BINARY=casera-admin # Build flags LDFLAGS=-ldflags "-s -w" @@ -107,7 +107,7 @@ swagger: # Help help: - @echo "MyCrib API Go - Available targets:" + @echo "Casera API Go - Available targets:" @echo "" @echo "Build:" @echo " deps - Install dependencies" diff --git a/README.md b/README.md index 5163cf2..cae71cf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# MyCrib API (Go) +# Casera API (Go) -Go implementation of the MyCrib property management API, built with Gin, GORM, Gorush, and GoAdmin. +Go implementation of the Casera property management API, built with Gin, GORM, Gorush, and GoAdmin. ## Tech Stack @@ -156,10 +156,10 @@ Seed files are located in `seeds/`: ```bash # Seed lookup tables (required) -cat seeds/001_lookups.sql | dokku postgres:connect mycrib-db +cat seeds/001_lookups.sql | dokku postgres:connect casera-db # Seed test data -cat seeds/002_test_data.sql | dokku postgres:connect mycrib-db +cat seeds/002_test_data.sql | dokku postgres:connect casera-db ``` ### Test Users @@ -187,4 +187,4 @@ This is a full rewrite that maintains API compatibility. The mobile clients (KMM ## License -Proprietary - MyCrib +Proprietary - Casera diff --git a/admin/src/app/(dashboard)/users/[id]/client.tsx b/admin/src/app/(dashboard)/users/[id]/client.tsx index 35dc2b1..0f77b11 100644 --- a/admin/src/app/(dashboard)/users/[id]/client.tsx +++ b/admin/src/app/(dashboard)/users/[id]/client.tsx @@ -41,9 +41,9 @@ export function UserDetailClient() { const [showPushDialog, setShowPushDialog] = useState(false); const [showEmailDialog, setShowEmailDialog] = useState(false); const [pushTitle, setPushTitle] = useState('Test Notification'); - const [pushBody, setPushBody] = useState('This is a test push notification from MyCrib Admin.'); - const [emailSubject, setEmailSubject] = useState('Test Email from MyCrib'); - const [emailBody, setEmailBody] = useState('This is a test email sent from the MyCrib Admin Panel.'); + const [pushBody, setPushBody] = useState('This is a test push notification from Casera Admin.'); + const [emailSubject, setEmailSubject] = useState('Test Email from Casera'); + const [emailBody, setEmailBody] = useState('This is a test email sent from the Casera Admin Panel.'); const { data: user, isLoading, error } = useQuery({ queryKey: ['user', userId], diff --git a/admin/src/app/layout.tsx b/admin/src/app/layout.tsx index 0139d26..8ceee79 100644 --- a/admin/src/app/layout.tsx +++ b/admin/src/app/layout.tsx @@ -15,8 +15,8 @@ const geistMono = Geist_Mono({ }); export const metadata: Metadata = { - title: "MyCrib Admin", - description: "MyCrib Administration Panel", + title: "Casera Admin", + description: "Casera Administration Panel", }; export default function RootLayout({ diff --git a/admin/src/components/app-sidebar.tsx b/admin/src/components/app-sidebar.tsx index 03581fb..5762312 100644 --- a/admin/src/components/app-sidebar.tsx +++ b/admin/src/components/app-sidebar.tsx @@ -76,7 +76,7 @@ export function AppSidebar() {
- MyCrib Admin + Casera Admin
diff --git a/admin/src/components/login-form.tsx b/admin/src/components/login-form.tsx index ffe2248..d822cbe 100644 --- a/admin/src/components/login-form.tsx +++ b/admin/src/components/login-form.tsx @@ -34,7 +34,7 @@ export function LoginForm() { - MyCrib Admin + Casera Admin Enter your credentials to access the admin panel @@ -53,7 +53,7 @@ export function LoginForm() { setEmail(e.target.value)} required diff --git a/app.json b/app.json index 572e59e..e2a2ef4 100644 --- a/app.json +++ b/app.json @@ -1,6 +1,6 @@ { - "name": "mycrib-api", - "description": "MyCrib API (Go)", + "name": "casera-api", + "description": "Casera API (Go)", "scripts": {}, "healthchecks": { "web": [ diff --git a/cmd/api/main.go b/cmd/api/main.go index 5ff0932..671b8e1 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -12,11 +12,11 @@ import ( "github.com/rs/zerolog/log" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/database" - "github.com/treytartt/mycrib-api/internal/router" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/pkg/utils" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/database" + "github.com/treytartt/casera-api/internal/router" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/pkg/utils" ) func main() { diff --git a/cmd/worker/main.go b/cmd/worker/main.go index c3690e1..b7bfff4 100644 --- a/cmd/worker/main.go +++ b/cmd/worker/main.go @@ -10,12 +10,12 @@ import ( "github.com/hibiken/asynq" "github.com/rs/zerolog/log" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/database" - "github.com/treytartt/mycrib-api/internal/push" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/internal/worker/jobs" - "github.com/treytartt/mycrib-api/pkg/utils" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/database" + "github.com/treytartt/casera-api/internal/push" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/internal/worker/jobs" + "github.com/treytartt/casera-api/pkg/utils" ) func main() { diff --git a/docker-compose.yml b/docker-compose.yml index 53f4f65..4af45e4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,28 +2,28 @@ services: # PostgreSQL Database db: image: postgres:16-alpine - container_name: mycrib-db + container_name: casera-db restart: unless-stopped environment: - POSTGRES_USER: ${POSTGRES_USER:-mycrib} - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-mycrib_dev_password} - POSTGRES_DB: ${POSTGRES_DB:-mycrib} + POSTGRES_USER: ${POSTGRES_USER:-casera} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-casera_dev_password} + POSTGRES_DB: ${POSTGRES_DB:-casera} volumes: - postgres_data:/var/lib/postgresql/data ports: - "${DB_PORT:-5433}:5432" # Use 5433 externally to avoid conflicts healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-mycrib} -d ${POSTGRES_DB:-mycrib}"] + test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-casera} -d ${POSTGRES_DB:-casera}"] interval: 10s timeout: 5s retries: 5 networks: - - mycrib-network + - casera-network # Redis Cache redis: image: redis:7-alpine - container_name: mycrib-redis + container_name: casera-redis restart: unless-stopped command: redis-server --appendonly yes volumes: @@ -36,13 +36,13 @@ services: timeout: 5s retries: 5 networks: - - mycrib-network + - casera-network # Gorush Push Notification Server # Note: Disabled by default. Start with: docker-compose --profile push up gorush: image: appleboy/gorush:latest - container_name: mycrib-gorush + container_name: casera-gorush restart: unless-stopped profiles: - push # Only start when push profile is enabled @@ -57,7 +57,7 @@ services: GORUSH_IOS_KEY_PATH: "/certs/apns_key.p8" GORUSH_IOS_KEY_ID: "${APNS_AUTH_KEY_ID}" GORUSH_IOS_TEAM_ID: "${APNS_TEAM_ID}" - GORUSH_IOS_TOPIC: "${APNS_TOPIC:-com.example.mycrib}" + GORUSH_IOS_TOPIC: "${APNS_TOPIC:-com.example.casera}" GORUSH_IOS_PRODUCTION: "${APNS_PRODUCTION:-false}" GORUSH_ANDROID_ENABLED: "${GORUSH_ANDROID_ENABLED:-true}" GORUSH_ANDROID_APIKEY: "${FCM_SERVER_KEY}" @@ -67,14 +67,14 @@ services: timeout: 10s retries: 3 networks: - - mycrib-network + - casera-network - # MyCrib API + # Casera API api: build: context: . target: api - container_name: mycrib-api + container_name: casera-api restart: unless-stopped ports: - "${PORT:-8000}:8000" @@ -88,9 +88,9 @@ services: # Database DB_HOST: db DB_PORT: "5432" - POSTGRES_USER: ${POSTGRES_USER:-mycrib} - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-mycrib_dev_password} - POSTGRES_DB: ${POSTGRES_DB:-mycrib} + POSTGRES_USER: ${POSTGRES_USER:-casera} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-casera_dev_password} + POSTGRES_DB: ${POSTGRES_DB:-casera} DB_SSLMODE: "${DB_SSLMODE:-disable}" # Redis @@ -104,7 +104,7 @@ services: EMAIL_PORT: ${EMAIL_PORT:-587} EMAIL_HOST_USER: ${EMAIL_HOST_USER} EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD} - DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-MyCrib } + DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-Casera } EMAIL_USE_TLS: "${EMAIL_USE_TLS:-true}" # Push Notifications @@ -112,7 +112,7 @@ services: APNS_AUTH_KEY_PATH: "/certs/apns_key.p8" APNS_AUTH_KEY_ID: ${APNS_AUTH_KEY_ID} APNS_TEAM_ID: ${APNS_TEAM_ID} - APNS_TOPIC: ${APNS_TOPIC:-com.example.mycrib} + APNS_TOPIC: ${APNS_TOPIC:-com.example.casera} APNS_USE_SANDBOX: "${APNS_USE_SANDBOX:-true}" FCM_SERVER_KEY: ${FCM_SERVER_KEY} volumes: @@ -131,14 +131,14 @@ services: timeout: 10s retries: 3 networks: - - mycrib-network + - casera-network - # MyCrib Admin Panel (Next.js) + # Casera Admin Panel (Next.js) admin: build: context: . target: admin - container_name: mycrib-admin + container_name: casera-admin restart: unless-stopped ports: - "${ADMIN_PORT:-3000}:3000" @@ -155,22 +155,22 @@ services: timeout: 10s retries: 3 networks: - - mycrib-network + - casera-network - # MyCrib Worker (Background Jobs) + # Casera Worker (Background Jobs) worker: build: context: . target: worker - container_name: mycrib-worker + container_name: casera-worker restart: unless-stopped environment: # Database DB_HOST: db DB_PORT: "5432" - POSTGRES_USER: ${POSTGRES_USER:-mycrib} - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-mycrib_dev_password} - POSTGRES_DB: ${POSTGRES_DB:-mycrib} + POSTGRES_USER: ${POSTGRES_USER:-casera} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-casera_dev_password} + POSTGRES_DB: ${POSTGRES_DB:-casera} DB_SSLMODE: "${DB_SSLMODE:-disable}" # Redis @@ -187,7 +187,7 @@ services: EMAIL_PORT: ${EMAIL_PORT:-587} EMAIL_HOST_USER: ${EMAIL_HOST_USER} EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD} - DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-MyCrib } + DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-Casera } EMAIL_USE_TLS: "${EMAIL_USE_TLS:-true}" # Worker settings @@ -201,12 +201,12 @@ services: redis: condition: service_healthy networks: - - mycrib-network + - casera-network volumes: postgres_data: redis_data: networks: - mycrib-network: + casera-network: driver: bridge diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 21bf992..0c17ae6 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -11,7 +11,7 @@ services: - PORT=8000 - DEBUG=true - SECRET_KEY=${SECRET_KEY:-development-secret-key} - - POSTGRES_DB=${POSTGRES_DB:-mycrib} + - POSTGRES_DB=${POSTGRES_DB:-casera} - POSTGRES_USER=${POSTGRES_USER:-postgres} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres} - DB_HOST=db @@ -28,17 +28,17 @@ services: condition: service_healthy restart: unless-stopped networks: - - mycrib-network + - casera-network worker: build: context: .. dockerfile: docker/Dockerfile - command: ["./mycrib-worker"] + command: ["./casera-worker"] environment: - DEBUG=true - SECRET_KEY=${SECRET_KEY:-development-secret-key} - - POSTGRES_DB=${POSTGRES_DB:-mycrib} + - POSTGRES_DB=${POSTGRES_DB:-casera} - POSTGRES_USER=${POSTGRES_USER:-postgres} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres} - DB_HOST=db @@ -51,12 +51,12 @@ services: condition: service_healthy restart: unless-stopped networks: - - mycrib-network + - casera-network db: image: postgres:15-alpine environment: - - POSTGRES_DB=${POSTGRES_DB:-mycrib} + - POSTGRES_DB=${POSTGRES_DB:-casera} - POSTGRES_USER=${POSTGRES_USER:-postgres} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres} volumes: @@ -64,13 +64,13 @@ services: ports: - "5432:5432" healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-mycrib}"] + test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-casera}"] interval: 5s timeout: 5s retries: 5 restart: unless-stopped networks: - - mycrib-network + - casera-network redis: image: redis:7-alpine @@ -85,12 +85,12 @@ services: retries: 5 restart: unless-stopped networks: - - mycrib-network + - casera-network volumes: postgres_data: redis_data: networks: - mycrib-network: + casera-network: driver: bridge diff --git a/go.mod b/go.mod index 9708f5c..c35683d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/treytartt/mycrib-api +module github.com/treytartt/casera-api go 1.23.0 diff --git a/internal/admin/handlers/admin_user_handler.go b/internal/admin/handlers/admin_user_handler.go index eef58b1..46dbf02 100644 --- a/internal/admin/handlers/admin_user_handler.go +++ b/internal/admin/handlers/admin_user_handler.go @@ -7,9 +7,9 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" ) // AdminUserManagementHandler handles admin user management endpoints diff --git a/internal/admin/handlers/auth_handler.go b/internal/admin/handlers/auth_handler.go index 751e2c7..c22bc60 100644 --- a/internal/admin/handlers/auth_handler.go +++ b/internal/admin/handlers/auth_handler.go @@ -5,10 +5,10 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) // AdminAuthHandler handles admin authentication endpoints diff --git a/internal/admin/handlers/auth_token_handler.go b/internal/admin/handlers/auth_token_handler.go index 33bc328..825bb28 100644 --- a/internal/admin/handlers/auth_token_handler.go +++ b/internal/admin/handlers/auth_token_handler.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminAuthTokenHandler handles admin auth token management endpoints diff --git a/internal/admin/handlers/completion_handler.go b/internal/admin/handlers/completion_handler.go index 72de649..5ce4d3e 100644 --- a/internal/admin/handlers/completion_handler.go +++ b/internal/admin/handlers/completion_handler.go @@ -8,8 +8,8 @@ import ( "github.com/shopspring/decimal" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminCompletionHandler handles admin task completion management endpoints diff --git a/internal/admin/handlers/contractor_handler.go b/internal/admin/handlers/contractor_handler.go index 3d4c3ba..a082b65 100644 --- a/internal/admin/handlers/contractor_handler.go +++ b/internal/admin/handlers/contractor_handler.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminContractorHandler handles admin contractor management endpoints diff --git a/internal/admin/handlers/dashboard_handler.go b/internal/admin/handlers/dashboard_handler.go index b75c248..a69d1d5 100644 --- a/internal/admin/handlers/dashboard_handler.go +++ b/internal/admin/handlers/dashboard_handler.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // AdminDashboardHandler handles admin dashboard endpoints diff --git a/internal/admin/handlers/document_handler.go b/internal/admin/handlers/document_handler.go index e57c47e..c89ec42 100644 --- a/internal/admin/handlers/document_handler.go +++ b/internal/admin/handlers/document_handler.go @@ -9,8 +9,8 @@ import ( "github.com/shopspring/decimal" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminDocumentHandler handles admin document management endpoints diff --git a/internal/admin/handlers/limitations_handler.go b/internal/admin/handlers/limitations_handler.go index b36f43e..1ae8e6f 100644 --- a/internal/admin/handlers/limitations_handler.go +++ b/internal/admin/handlers/limitations_handler.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // AdminLimitationsHandler handles subscription limitations management diff --git a/internal/admin/handlers/lookup_handler.go b/internal/admin/handlers/lookup_handler.go index e406de1..0e9238d 100644 --- a/internal/admin/handlers/lookup_handler.go +++ b/internal/admin/handlers/lookup_handler.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminLookupHandler handles admin lookup table management endpoints diff --git a/internal/admin/handlers/notification_handler.go b/internal/admin/handlers/notification_handler.go index 2486769..064e36e 100644 --- a/internal/admin/handlers/notification_handler.go +++ b/internal/admin/handlers/notification_handler.go @@ -9,10 +9,10 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/push" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/push" + "github.com/treytartt/casera-api/internal/services" ) // AdminNotificationHandler handles admin notification management endpoints diff --git a/internal/admin/handlers/notification_prefs_handler.go b/internal/admin/handlers/notification_prefs_handler.go index b44e340..1859f8f 100644 --- a/internal/admin/handlers/notification_prefs_handler.go +++ b/internal/admin/handlers/notification_prefs_handler.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminNotificationPrefsHandler handles notification preference management diff --git a/internal/admin/handlers/residence_handler.go b/internal/admin/handlers/residence_handler.go index 28fd570..3d14d0a 100644 --- a/internal/admin/handlers/residence_handler.go +++ b/internal/admin/handlers/residence_handler.go @@ -9,8 +9,8 @@ import ( "github.com/shopspring/decimal" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminResidenceHandler handles admin residence management endpoints diff --git a/internal/admin/handlers/settings_handler.go b/internal/admin/handlers/settings_handler.go index 8784f26..21a05f4 100644 --- a/internal/admin/handlers/settings_handler.go +++ b/internal/admin/handlers/settings_handler.go @@ -10,7 +10,7 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // AdminSettingsHandler handles system settings management diff --git a/internal/admin/handlers/subscription_handler.go b/internal/admin/handlers/subscription_handler.go index 0b8f822..744f125 100644 --- a/internal/admin/handlers/subscription_handler.go +++ b/internal/admin/handlers/subscription_handler.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminSubscriptionHandler handles admin subscription management endpoints diff --git a/internal/admin/handlers/task_handler.go b/internal/admin/handlers/task_handler.go index 18b7437..46ea36c 100644 --- a/internal/admin/handlers/task_handler.go +++ b/internal/admin/handlers/task_handler.go @@ -9,8 +9,8 @@ import ( "github.com/shopspring/decimal" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminTaskHandler handles admin task management endpoints diff --git a/internal/admin/handlers/user_handler.go b/internal/admin/handlers/user_handler.go index f481f10..9fcc268 100644 --- a/internal/admin/handlers/user_handler.go +++ b/internal/admin/handlers/user_handler.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/dto" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/admin/dto" + "github.com/treytartt/casera-api/internal/models" ) // AdminUserHandler handles admin user management endpoints diff --git a/internal/admin/routes.go b/internal/admin/routes.go index 6292e4b..0d49ec3 100644 --- a/internal/admin/routes.go +++ b/internal/admin/routes.go @@ -9,12 +9,12 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin/handlers" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/push" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/admin/handlers" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/push" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/services" ) // Dependencies holds optional services for admin routes diff --git a/internal/config/config.go b/internal/config/config.go index 3429ee8..f23b536 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -210,7 +210,7 @@ func setDefaults() { viper.SetDefault("DB_HOST", "localhost") viper.SetDefault("DB_PORT", 5432) viper.SetDefault("POSTGRES_USER", "postgres") - viper.SetDefault("POSTGRES_DB", "mycrib") + viper.SetDefault("POSTGRES_DB", "casera") viper.SetDefault("DB_SSLMODE", "disable") viper.SetDefault("DB_MAX_OPEN_CONNS", 25) viper.SetDefault("DB_MAX_IDLE_CONNS", 10) @@ -226,11 +226,11 @@ func setDefaults() { viper.SetDefault("EMAIL_USE_TLS", true) viper.SetDefault("EMAIL_HOST_USER", "") viper.SetDefault("EMAIL_HOST_PASSWORD", "") - viper.SetDefault("DEFAULT_FROM_EMAIL", "MyCrib ") + viper.SetDefault("DEFAULT_FROM_EMAIL", "Casera ") // Push notification defaults viper.SetDefault("GORUSH_URL", "http://localhost:8088") - viper.SetDefault("APNS_TOPIC", "com.example.mycrib") + viper.SetDefault("APNS_TOPIC", "com.example.casera") viper.SetDefault("APNS_USE_SANDBOX", true) // Worker defaults (all times in UTC) diff --git a/internal/database/database.go b/internal/database/database.go index cba97e0..0c26d53 100644 --- a/internal/database/database.go +++ b/internal/database/database.go @@ -9,8 +9,8 @@ import ( "gorm.io/gorm" "gorm.io/gorm/logger" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/models" ) var db *gorm.DB diff --git a/internal/dto/requests/document.go b/internal/dto/requests/document.go index 0be2322..ceec0b6 100644 --- a/internal/dto/requests/document.go +++ b/internal/dto/requests/document.go @@ -5,7 +5,7 @@ import ( "github.com/shopspring/decimal" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // CreateDocumentRequest represents the request to create a document diff --git a/internal/dto/responses/auth.go b/internal/dto/responses/auth.go index c843336..3eb3c1c 100644 --- a/internal/dto/responses/auth.go +++ b/internal/dto/responses/auth.go @@ -3,7 +3,7 @@ package responses import ( "time" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // UserResponse represents a user in API responses diff --git a/internal/dto/responses/contractor.go b/internal/dto/responses/contractor.go index 96a8214..0ca1631 100644 --- a/internal/dto/responses/contractor.go +++ b/internal/dto/responses/contractor.go @@ -3,7 +3,7 @@ package responses import ( "time" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // ContractorSpecialtyResponse represents a contractor specialty diff --git a/internal/dto/responses/document.go b/internal/dto/responses/document.go index 96e71ab..261147c 100644 --- a/internal/dto/responses/document.go +++ b/internal/dto/responses/document.go @@ -5,7 +5,7 @@ import ( "github.com/shopspring/decimal" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // DocumentUserResponse represents a user in document context diff --git a/internal/dto/responses/residence.go b/internal/dto/responses/residence.go index fbf45bd..d3a6028 100644 --- a/internal/dto/responses/residence.go +++ b/internal/dto/responses/residence.go @@ -5,7 +5,7 @@ import ( "github.com/shopspring/decimal" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // ResidenceTypeResponse represents a residence type in the API response diff --git a/internal/dto/responses/task.go b/internal/dto/responses/task.go index 85825f8..0a77dad 100644 --- a/internal/dto/responses/task.go +++ b/internal/dto/responses/task.go @@ -6,7 +6,7 @@ import ( "github.com/shopspring/decimal" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // TaskCategoryResponse represents a task category diff --git a/internal/handlers/auth_handler.go b/internal/handlers/auth_handler.go index edef872..585d633 100644 --- a/internal/handlers/auth_handler.go +++ b/internal/handlers/auth_handler.go @@ -7,10 +7,10 @@ import ( "github.com/gin-gonic/gin" "github.com/rs/zerolog/log" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/dto/responses" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/dto/responses" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/services" ) // AuthHandler handles authentication endpoints diff --git a/internal/handlers/auth_handler_test.go b/internal/handlers/auth_handler_test.go index 0034f0d..2b5ae77 100644 --- a/internal/handlers/auth_handler_test.go +++ b/internal/handlers/auth_handler_test.go @@ -10,11 +10,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/internal/testutil" ) func setupAuthHandler(t *testing.T) (*AuthHandler, *gin.Engine, *repositories.UserRepository) { diff --git a/internal/handlers/contractor_handler.go b/internal/handlers/contractor_handler.go index 83a806c..6ef6878 100644 --- a/internal/handlers/contractor_handler.go +++ b/internal/handlers/contractor_handler.go @@ -7,10 +7,10 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) // ContractorHandler handles contractor-related HTTP requests diff --git a/internal/handlers/document_handler.go b/internal/handlers/document_handler.go index e51023d..b94c9c5 100644 --- a/internal/handlers/document_handler.go +++ b/internal/handlers/document_handler.go @@ -11,10 +11,10 @@ import ( "github.com/gin-gonic/gin" "github.com/shopspring/decimal" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) // DocumentHandler handles document-related HTTP requests diff --git a/internal/handlers/notification_handler.go b/internal/handlers/notification_handler.go index 388bc88..4fe0225 100644 --- a/internal/handlers/notification_handler.go +++ b/internal/handlers/notification_handler.go @@ -7,9 +7,9 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) // NotificationHandler handles notification-related HTTP requests diff --git a/internal/handlers/residence_handler.go b/internal/handlers/residence_handler.go index 157562f..0ecf651 100644 --- a/internal/handlers/residence_handler.go +++ b/internal/handlers/residence_handler.go @@ -7,10 +7,10 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) // ResidenceHandler handles residence-related HTTP requests diff --git a/internal/handlers/residence_handler_test.go b/internal/handlers/residence_handler_test.go index 6235744..5360223 100644 --- a/internal/handlers/residence_handler_test.go +++ b/internal/handlers/residence_handler_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/internal/testutil" "gorm.io/gorm" ) diff --git a/internal/handlers/static_data_handler.go b/internal/handlers/static_data_handler.go index be50dd2..a76658d 100644 --- a/internal/handlers/static_data_handler.go +++ b/internal/handlers/static_data_handler.go @@ -5,7 +5,7 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/services" ) // StaticDataHandler handles static/lookup data endpoints diff --git a/internal/handlers/subscription_handler.go b/internal/handlers/subscription_handler.go index 13d16a6..cb87ce7 100644 --- a/internal/handlers/subscription_handler.go +++ b/internal/handlers/subscription_handler.go @@ -6,9 +6,9 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) // SubscriptionHandler handles subscription-related HTTP requests diff --git a/internal/handlers/task_handler.go b/internal/handlers/task_handler.go index fcb4c45..9145770 100644 --- a/internal/handlers/task_handler.go +++ b/internal/handlers/task_handler.go @@ -11,10 +11,10 @@ import ( "github.com/gin-gonic/gin" "github.com/shopspring/decimal" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) // TaskHandler handles task-related HTTP requests diff --git a/internal/handlers/task_handler_test.go b/internal/handlers/task_handler_test.go index 582d312..8d734ad 100644 --- a/internal/handlers/task_handler_test.go +++ b/internal/handlers/task_handler_test.go @@ -12,11 +12,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/internal/testutil" "gorm.io/gorm" ) diff --git a/internal/handlers/upload_handler.go b/internal/handlers/upload_handler.go index 1072fe0..c8bfe9a 100644 --- a/internal/handlers/upload_handler.go +++ b/internal/handlers/upload_handler.go @@ -5,7 +5,7 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/services" ) // UploadHandler handles file upload endpoints diff --git a/internal/handlers/user_handler.go b/internal/handlers/user_handler.go index a184485..c63c28f 100644 --- a/internal/handlers/user_handler.go +++ b/internal/handlers/user_handler.go @@ -6,9 +6,9 @@ import ( "github.com/gin-gonic/gin" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) // UserHandler handles user-related HTTP requests diff --git a/internal/integration/integration_test.go b/internal/integration/integration_test.go index fa9a4b1..3bf0f4e 100644 --- a/internal/integration/integration_test.go +++ b/internal/integration/integration_test.go @@ -13,12 +13,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/handlers" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/handlers" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/internal/testutil" "gorm.io/gorm" ) diff --git a/internal/middleware/admin_auth.go b/internal/middleware/admin_auth.go index e003dc4..21bffb9 100644 --- a/internal/middleware/admin_auth.go +++ b/internal/middleware/admin_auth.go @@ -9,9 +9,9 @@ import ( "github.com/gin-gonic/gin" "github.com/golang-jwt/jwt/v5" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) const ( diff --git a/internal/middleware/auth.go b/internal/middleware/auth.go index f22f4a8..e5678f0 100644 --- a/internal/middleware/auth.go +++ b/internal/middleware/auth.go @@ -12,8 +12,8 @@ import ( "github.com/rs/zerolog/log" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/services" ) const ( diff --git a/internal/push/gorush.go b/internal/push/gorush.go index 6be48e2..e73d801 100644 --- a/internal/push/gorush.go +++ b/internal/push/gorush.go @@ -10,7 +10,7 @@ import ( "github.com/rs/zerolog/log" - "github.com/treytartt/mycrib-api/internal/config" + "github.com/treytartt/casera-api/internal/config" ) // Platform constants diff --git a/internal/repositories/admin_repo.go b/internal/repositories/admin_repo.go index b097364..e6e3665 100644 --- a/internal/repositories/admin_repo.go +++ b/internal/repositories/admin_repo.go @@ -6,7 +6,7 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) var ( diff --git a/internal/repositories/contractor_repo.go b/internal/repositories/contractor_repo.go index b688062..8184398 100644 --- a/internal/repositories/contractor_repo.go +++ b/internal/repositories/contractor_repo.go @@ -3,7 +3,7 @@ package repositories import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // ContractorRepository handles database operations for contractors diff --git a/internal/repositories/document_repo.go b/internal/repositories/document_repo.go index 7992082..8be4d8c 100644 --- a/internal/repositories/document_repo.go +++ b/internal/repositories/document_repo.go @@ -5,7 +5,7 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // DocumentRepository handles database operations for documents diff --git a/internal/repositories/notification_repo.go b/internal/repositories/notification_repo.go index f5694d0..0974d5d 100644 --- a/internal/repositories/notification_repo.go +++ b/internal/repositories/notification_repo.go @@ -5,7 +5,7 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // NotificationRepository handles database operations for notifications diff --git a/internal/repositories/residence_repo.go b/internal/repositories/residence_repo.go index e2ef95c..e997121 100644 --- a/internal/repositories/residence_repo.go +++ b/internal/repositories/residence_repo.go @@ -8,7 +8,7 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // ResidenceRepository handles database operations for residences diff --git a/internal/repositories/residence_repo_test.go b/internal/repositories/residence_repo_test.go index 128565f..a44e7ba 100644 --- a/internal/repositories/residence_repo_test.go +++ b/internal/repositories/residence_repo_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/testutil" ) func TestResidenceRepository_Create(t *testing.T) { diff --git a/internal/repositories/subscription_repo.go b/internal/repositories/subscription_repo.go index 52234b7..8396a41 100644 --- a/internal/repositories/subscription_repo.go +++ b/internal/repositories/subscription_repo.go @@ -5,7 +5,7 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // SubscriptionRepository handles database operations for subscriptions diff --git a/internal/repositories/task_repo.go b/internal/repositories/task_repo.go index c630168..37bd453 100644 --- a/internal/repositories/task_repo.go +++ b/internal/repositories/task_repo.go @@ -5,7 +5,7 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // TaskRepository handles database operations for tasks diff --git a/internal/repositories/task_repo_test.go b/internal/repositories/task_repo_test.go index 75b6fcd..a162a4b 100644 --- a/internal/repositories/task_repo_test.go +++ b/internal/repositories/task_repo_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/testutil" ) func TestTaskRepository_Create(t *testing.T) { diff --git a/internal/repositories/user_repo.go b/internal/repositories/user_repo.go index fcc4b0c..452b337 100644 --- a/internal/repositories/user_repo.go +++ b/internal/repositories/user_repo.go @@ -7,7 +7,7 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) var ( diff --git a/internal/repositories/user_repo_test.go b/internal/repositories/user_repo_test.go index 4aff5b2..fd3f540 100644 --- a/internal/repositories/user_repo_test.go +++ b/internal/repositories/user_repo_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/testutil" ) func TestUserRepository_Create(t *testing.T) { diff --git a/internal/router/router.go b/internal/router/router.go index c574fe8..9c27650 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -8,14 +8,14 @@ import ( "github.com/gin-gonic/gin" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/admin" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/handlers" - "github.com/treytartt/mycrib-api/internal/middleware" - "github.com/treytartt/mycrib-api/internal/push" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/pkg/utils" + "github.com/treytartt/casera-api/internal/admin" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/handlers" + "github.com/treytartt/casera-api/internal/middleware" + "github.com/treytartt/casera-api/internal/push" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/pkg/utils" ) const Version = "2.0.0" diff --git a/internal/services/auth_service.go b/internal/services/auth_service.go index 7943f2e..b3f7c66 100644 --- a/internal/services/auth_service.go +++ b/internal/services/auth_service.go @@ -9,11 +9,11 @@ import ( "golang.org/x/crypto/bcrypt" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/dto/responses" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/dto/responses" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) var ( diff --git a/internal/services/cache_service.go b/internal/services/cache_service.go index 6dd9f0e..2d843e7 100644 --- a/internal/services/cache_service.go +++ b/internal/services/cache_service.go @@ -9,7 +9,7 @@ import ( "github.com/redis/go-redis/v9" "github.com/rs/zerolog/log" - "github.com/treytartt/mycrib-api/internal/config" + "github.com/treytartt/casera-api/internal/config" ) // CacheService provides Redis caching functionality diff --git a/internal/services/contractor_service.go b/internal/services/contractor_service.go index 14cdf41..0a99ade 100644 --- a/internal/services/contractor_service.go +++ b/internal/services/contractor_service.go @@ -5,10 +5,10 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/dto/responses" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/dto/responses" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) // Contractor-related errors diff --git a/internal/services/document_service.go b/internal/services/document_service.go index f1d2256..8f20c34 100644 --- a/internal/services/document_service.go +++ b/internal/services/document_service.go @@ -5,10 +5,10 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/dto/responses" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/dto/responses" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) // Document-related errors diff --git a/internal/services/email_service.go b/internal/services/email_service.go index 862f97f..ddae0eb 100644 --- a/internal/services/email_service.go +++ b/internal/services/email_service.go @@ -10,7 +10,7 @@ import ( "github.com/rs/zerolog/log" "gopkg.in/gomail.v2" - "github.com/treytartt/mycrib-api/internal/config" + "github.com/treytartt/casera-api/internal/config" ) // EmailService handles sending emails @@ -86,7 +86,7 @@ func (s *EmailService) SendEmailWithAttachment(to, subject, htmlBody, textBody s // SendWelcomeEmail sends a welcome email with verification code func (s *EmailService) SendWelcomeEmail(to, firstName, code string) error { - subject := "Welcome to MyCrib - Verify Your Email" + subject := "Welcome to Casera - Verify Your Email" name := firstName if name == "" { @@ -109,16 +109,16 @@ func (s *EmailService) SendWelcomeEmail(to, firstName, code string) error {
-

Welcome to MyCrib!

+

Welcome to Casera!

Hi %s,

-

Thank you for creating a MyCrib account. To complete your registration, please verify your email address by entering the following code:

+

Thank you for creating a Casera account. To complete your registration, please verify your email address by entering the following code:

%s

This code will expire in 24 hours.

-

If you didn't create a MyCrib account, you can safely ignore this email.

-

Best regards,
The MyCrib Team

+

If you didn't create a Casera account, you can safely ignore this email.

+

Best regards,
The Casera Team

@@ -126,20 +126,20 @@ func (s *EmailService) SendWelcomeEmail(to, firstName, code string) error { `, name, code, time.Now().Year()) textBody := fmt.Sprintf(` -Welcome to MyCrib! +Welcome to Casera! Hi %s, -Thank you for creating a MyCrib account. To complete your registration, please verify your email address by entering the following code: +Thank you for creating a Casera account. To complete your registration, please verify your email address by entering the following code: %s This code will expire in 24 hours. -If you didn't create a MyCrib account, you can safely ignore this email. +If you didn't create a Casera account, you can safely ignore this email. Best regards, -The MyCrib Team +The Casera Team `, name, code) return s.SendEmail(to, subject, htmlBody, textBody) @@ -147,7 +147,7 @@ The MyCrib Team // SendVerificationEmail sends an email verification code func (s *EmailService) SendVerificationEmail(to, firstName, code string) error { - subject := "MyCrib - Verify Your Email" + subject := "Casera - Verify Your Email" name := firstName if name == "" { @@ -174,9 +174,9 @@ func (s *EmailService) SendVerificationEmail(to, firstName, code string) error {
%s

This code will expire in 24 hours.

If you didn't request this, you can safely ignore this email.

-

Best regards,
The MyCrib Team

+

Best regards,
The Casera Team

@@ -197,7 +197,7 @@ This code will expire in 24 hours. If you didn't request this, you can safely ignore this email. Best regards, -The MyCrib Team +The Casera Team `, name, code) return s.SendEmail(to, subject, htmlBody, textBody) @@ -205,7 +205,7 @@ The MyCrib Team // SendPasswordResetEmail sends a password reset email func (s *EmailService) SendPasswordResetEmail(to, firstName, code string) error { - subject := "MyCrib - Password Reset Request" + subject := "Casera - Password Reset Request" name := firstName if name == "" { @@ -235,9 +235,9 @@ func (s *EmailService) SendPasswordResetEmail(to, firstName, code string) error
Security Notice: If you didn't request a password reset, please ignore this email. Your password will remain unchanged.
-

Best regards,
The MyCrib Team

+

Best regards,
The Casera Team

@@ -258,7 +258,7 @@ This code will expire in 15 minutes. SECURITY NOTICE: If you didn't request a password reset, please ignore this email. Your password will remain unchanged. Best regards, -The MyCrib Team +The Casera Team `, name, code) return s.SendEmail(to, subject, htmlBody, textBody) @@ -266,7 +266,7 @@ The MyCrib Team // SendPasswordChangedEmail sends a password changed confirmation email func (s *EmailService) SendPasswordChangedEmail(to, firstName string) error { - subject := "MyCrib - Your Password Has Been Changed" + subject := "Casera - Your Password Has Been Changed" name := firstName if name == "" { @@ -289,13 +289,13 @@ func (s *EmailService) SendPasswordChangedEmail(to, firstName string) error {

Password Changed

Hi %s,

-

Your MyCrib password was successfully changed on %s.

+

Your Casera password was successfully changed on %s.

- Didn't make this change? If you didn't change your password, please contact us immediately at support@mycrib.com or reset your password. + Didn't make this change? If you didn't change your password, please contact us immediately at support@casera.app or reset your password.
-

Best regards,
The MyCrib Team

+

Best regards,
The Casera Team

@@ -307,12 +307,12 @@ Password Changed Hi %s, -Your MyCrib password was successfully changed on %s. +Your Casera password was successfully changed on %s. -DIDN'T MAKE THIS CHANGE? If you didn't change your password, please contact us immediately at support@mycrib.com or reset your password. +DIDN'T MAKE THIS CHANGE? If you didn't change your password, please contact us immediately at support@casera.app or reset your password. Best regards, -The MyCrib Team +The Casera Team `, name, time.Now().UTC().Format("January 2, 2006 at 3:04 PM UTC")) return s.SendEmail(to, subject, htmlBody, textBody) @@ -320,7 +320,7 @@ The MyCrib Team // SendTaskCompletedEmail sends an email notification when a task is completed func (s *EmailService) SendTaskCompletedEmail(to, recipientName, taskTitle, completedByName, residenceName string) error { - subject := fmt.Sprintf("MyCrib - Task Completed: %s", taskTitle) + subject := fmt.Sprintf("Casera - Task Completed: %s", taskTitle) name := recipientName if name == "" { @@ -353,9 +353,9 @@ func (s *EmailService) SendTaskCompletedEmail(to, recipientName, taskTitle, comp

%s

Completed by: %s
Completed on: %s

-

Best regards,
The MyCrib Team

+

Best regards,
The Casera Team

@@ -374,7 +374,7 @@ Completed by: %s Completed on: %s Best regards, -The MyCrib Team +The Casera Team `, name, residenceName, taskTitle, completedByName, time.Now().UTC().Format("January 2, 2006 at 3:04 PM")) return s.SendEmail(to, subject, htmlBody, textBody) @@ -382,7 +382,7 @@ The MyCrib Team // SendTasksReportEmail sends a tasks report email with PDF attachment func (s *EmailService) SendTasksReportEmail(to, recipientName, residenceName string, totalTasks, completed, pending, overdue int, pdfData []byte) error { - subject := fmt.Sprintf("MyCrib - Tasks Report for %s", residenceName) + subject := fmt.Sprintf("Casera - Tasks Report for %s", residenceName) name := recipientName if name == "" { @@ -441,9 +441,9 @@ func (s *EmailService) SendTasksReportEmail(to, recipientName, residenceName str

Open the attached PDF for the complete list of tasks with details.

-

Best regards,
The MyCrib Team

+

Best regards,
The Casera Team

@@ -466,7 +466,7 @@ Summary: Open the attached PDF for the complete list of tasks with details. Best regards, -The MyCrib Team +The Casera Team `, residenceName, name, residenceName, totalTasks, completed, pending, overdue) // Create filename with timestamp diff --git a/internal/services/notification_service.go b/internal/services/notification_service.go index 23ece2d..39b9316 100644 --- a/internal/services/notification_service.go +++ b/internal/services/notification_service.go @@ -7,9 +7,9 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/push" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/push" + "github.com/treytartt/casera-api/internal/repositories" ) // Notification-related errors diff --git a/internal/services/pdf_service.go b/internal/services/pdf_service.go index 0c6fab7..cb6eaae 100644 --- a/internal/services/pdf_service.go +++ b/internal/services/pdf_service.go @@ -164,7 +164,7 @@ func (s *PDFService) GenerateTasksReportPDF(report *TasksReportResponse) ([]byte pdf.SetY(-25) pdf.SetFont("Arial", "I", 9) pdf.SetTextColor(128, 128, 128) - pdf.Cell(0, 10, fmt.Sprintf("MyCrib - Tasks Report for %s", report.ResidenceName)) + pdf.Cell(0, 10, fmt.Sprintf("Casera - Tasks Report for %s", report.ResidenceName)) pdf.Ln(5) pdf.Cell(0, 10, fmt.Sprintf("Generated on %s", time.Now().UTC().Format("2006-01-02 15:04:05 UTC"))) diff --git a/internal/services/residence_service.go b/internal/services/residence_service.go index e2a0b4d..6d5e79a 100644 --- a/internal/services/residence_service.go +++ b/internal/services/residence_service.go @@ -6,11 +6,11 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/dto/responses" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/dto/responses" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) // Common errors diff --git a/internal/services/residence_service_test.go b/internal/services/residence_service_test.go index 68623d2..fcd184a 100644 --- a/internal/services/residence_service_test.go +++ b/internal/services/residence_service_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/testutil" ) func setupResidenceService(t *testing.T) (*ResidenceService, *repositories.ResidenceRepository, *repositories.UserRepository) { diff --git a/internal/services/storage_service.go b/internal/services/storage_service.go index 3d6d9db..0bcd4fe 100644 --- a/internal/services/storage_service.go +++ b/internal/services/storage_service.go @@ -12,7 +12,7 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog/log" - "github.com/treytartt/mycrib-api/internal/config" + "github.com/treytartt/casera-api/internal/config" ) // StorageService handles file uploads to local filesystem diff --git a/internal/services/subscription_service.go b/internal/services/subscription_service.go index 2eb10eb..4b8e5a4 100644 --- a/internal/services/subscription_service.go +++ b/internal/services/subscription_service.go @@ -6,8 +6,8 @@ import ( "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) // Subscription-related errors diff --git a/internal/services/task_service.go b/internal/services/task_service.go index 5657e52..5df47ed 100644 --- a/internal/services/task_service.go +++ b/internal/services/task_service.go @@ -9,10 +9,10 @@ import ( "github.com/rs/zerolog/log" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/dto/responses" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/dto/responses" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" ) // Task-related errors diff --git a/internal/services/task_service_test.go b/internal/services/task_service_test.go index 0836847..b8b251c 100644 --- a/internal/services/task_service_test.go +++ b/internal/services/task_service_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/treytartt/mycrib-api/internal/dto/requests" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/repositories" - "github.com/treytartt/mycrib-api/internal/testutil" + "github.com/treytartt/casera-api/internal/dto/requests" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/repositories" + "github.com/treytartt/casera-api/internal/testutil" ) func setupTaskService(t *testing.T) (*TaskService, *repositories.TaskRepository, *repositories.ResidenceRepository) { diff --git a/internal/services/user_service.go b/internal/services/user_service.go index 183f84a..2709d22 100644 --- a/internal/services/user_service.go +++ b/internal/services/user_service.go @@ -3,8 +3,8 @@ package services import ( "errors" - "github.com/treytartt/mycrib-api/internal/dto/responses" - "github.com/treytartt/mycrib-api/internal/repositories" + "github.com/treytartt/casera-api/internal/dto/responses" + "github.com/treytartt/casera-api/internal/repositories" ) var ( diff --git a/internal/testutil/testutil.go b/internal/testutil/testutil.go index ba97c92..17006b7 100644 --- a/internal/testutil/testutil.go +++ b/internal/testutil/testutil.go @@ -13,7 +13,7 @@ import ( "gorm.io/gorm" "gorm.io/gorm/logger" - "github.com/treytartt/mycrib-api/internal/models" + "github.com/treytartt/casera-api/internal/models" ) // SetupTestDB creates an in-memory SQLite database for testing diff --git a/internal/worker/jobs/email_jobs.go b/internal/worker/jobs/email_jobs.go index 145e194..81be0a8 100644 --- a/internal/worker/jobs/email_jobs.go +++ b/internal/worker/jobs/email_jobs.go @@ -8,8 +8,8 @@ import ( "github.com/hibiken/asynq" "github.com/rs/zerolog/log" - "github.com/treytartt/mycrib-api/internal/services" - "github.com/treytartt/mycrib-api/internal/worker" + "github.com/treytartt/casera-api/internal/services" + "github.com/treytartt/casera-api/internal/worker" ) // EmailJobHandler handles email-related background jobs diff --git a/internal/worker/jobs/handler.go b/internal/worker/jobs/handler.go index 1f59446..22f7ec5 100644 --- a/internal/worker/jobs/handler.go +++ b/internal/worker/jobs/handler.go @@ -10,10 +10,10 @@ import ( "github.com/rs/zerolog/log" "gorm.io/gorm" - "github.com/treytartt/mycrib-api/internal/config" - "github.com/treytartt/mycrib-api/internal/models" - "github.com/treytartt/mycrib-api/internal/push" - "github.com/treytartt/mycrib-api/internal/services" + "github.com/treytartt/casera-api/internal/config" + "github.com/treytartt/casera-api/internal/models" + "github.com/treytartt/casera-api/internal/push" + "github.com/treytartt/casera-api/internal/services" ) // Task types