Rebrand from Casera/MyCrib to honeyDue

Total rebrand across Web project:
- Package name: casera-web -> honeydue-web
- Cookie: casera-token -> honeydue-token
- Theme store: casera-theme -> honeydue-theme
- File sharing: .casera -> .honeydue, component/function renames
- casera-file-handler.tsx -> honeydue-file-handler.tsx
- All UI text, metadata, OG tags updated
- Domains: casera.treytartt.com -> honeyDue.treytartt.com
- Demo data emails updated
- All documentation updated

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-07 06:33:59 -06:00
parent 4b8c10d768
commit e2172c20f2
57 changed files with 192 additions and 192 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
// ---------------------------------------------------------------------------
// Base API client for Casera web app
// Base API client for honeyDue web app
// ---------------------------------------------------------------------------
// All client-side requests go through Next.js API route handlers (proxy).
// The proxy reads the httpOnly `casera-token` cookie and forwards it to the
// The proxy reads the httpOnly `honeydue-token` cookie and forwards it to the
// Go API as an Authorization header. This avoids exposing the token to JS.
// ---------------------------------------------------------------------------
const API_BASE_URL =
process.env.NEXT_PUBLIC_API_URL || 'https://casera.treytartt.com/api';
process.env.NEXT_PUBLIC_API_URL || 'https://honeyDue.treytartt.com/api';
/**
* Server-only base URL. Falls back to the public one so that server
@@ -86,7 +86,7 @@ export async function apiFetch<T>(
// ---------------------------------------------------------------------------
/**
* Server-side fetch that reads the auth token from the `casera-token` cookie
* Server-side fetch that reads the auth token from the `honeydue-token` cookie
* and calls the Go API directly (no proxy hop).
*
* Only use this inside:
@@ -102,7 +102,7 @@ export async function serverFetch<T>(
// (the function itself should only be *called* on the server).
const { cookies } = await import('next/headers');
const cookieStore = await cookies();
const token = cookieStore.get('casera-token')?.value;
const token = cookieStore.get('honeydue-token')?.value;
const normalized = path.endsWith('/') ? path : `${path}/`;
const url = `${SERVER_API_URL}${normalized}`;
+1 -1
View File
@@ -1,5 +1,5 @@
// ---------------------------------------------------------------------------
// Casera API Client - barrel export
// honeyDue API Client - barrel export
// ---------------------------------------------------------------------------
// Usage:
// import { auth, residences, tasks } from '@/lib/api';
+2 -2
View File
@@ -258,7 +258,7 @@ export const demoProvider: DataProvider = {
{
id: 1,
username: 'demo_user',
email: 'demo@casera.app',
email: 'demo@honeyDue.treytartt.com',
first_name: 'Demo',
last_name: 'User',
is_owner: true,
@@ -273,7 +273,7 @@ export const demoProvider: DataProvider = {
return {
message: 'Report generated (demo)',
residence_name: r?.name ?? 'Demo Residence',
recipient_email: 'demo@casera.app',
recipient_email: 'demo@honeyDue.treytartt.com',
pdf_generated: true,
email_sent: false,
report: {},
+1 -1
View File
@@ -86,7 +86,7 @@ export const demoNotifications: NotificationResponse[] = [
},
{
id: 9,
title: 'Welcome to Casera!',
title: 'Welcome to honeyDue!',
body: 'Start by adding your first residence to track home maintenance.',
notification_type: 'system',
is_read: true,
+1 -1
View File
@@ -3,7 +3,7 @@ import type { UserResponse } from '@/lib/api/auth';
export const demoUser: UserResponse = {
id: 1,
username: 'demo_user',
email: 'demo@casera.app',
email: 'demo@honeyDue.treytartt.com',
first_name: 'Demo',
last_name: 'User',
is_email_verified: true,
+1 -1
View File
@@ -19,7 +19,7 @@ export interface ThemeDefinition {
}
/**
* Single "Warm Sage" theme — the Casera brand palette.
* Single "Warm Sage" theme — the honeyDue brand palette.
*/
export const themes: ThemeDefinition[] = [
{
+1 -1
View File
@@ -1,6 +1,6 @@
// ============================================================================
// API-level types: errors, pagination, common response wrappers
// Generated from myCribAPI-go/internal/dto/responses/auth.go (ErrorResponse, MessageResponse)
// Generated from honeyDueAPI-go/internal/dto/responses/auth.go (ErrorResponse, MessageResponse)
// ============================================================================
/**
+2 -2
View File
@@ -1,8 +1,8 @@
// ============================================================================
// Auth request / response types
// Generated from:
// myCribAPI-go/internal/dto/requests/auth.go
// myCribAPI-go/internal/dto/responses/auth.go
// honeyDueAPI-go/internal/dto/requests/auth.go
// honeyDueAPI-go/internal/dto/responses/auth.go
// ============================================================================
// ---------------------------------------------------------------------------
+2 -2
View File
@@ -1,8 +1,8 @@
// ============================================================================
// Contractor request / response types
// Generated from:
// myCribAPI-go/internal/dto/requests/contractor.go
// myCribAPI-go/internal/dto/responses/contractor.go
// honeyDueAPI-go/internal/dto/requests/contractor.go
// honeyDueAPI-go/internal/dto/responses/contractor.go
// ============================================================================
// ---------------------------------------------------------------------------
+3 -3
View File
@@ -1,9 +1,9 @@
// ============================================================================
// Document request / response types
// Generated from:
// myCribAPI-go/internal/dto/requests/document.go
// myCribAPI-go/internal/dto/responses/document.go
// myCribAPI-go/internal/models/document.go (DocumentType enum)
// honeyDueAPI-go/internal/dto/requests/document.go
// honeyDueAPI-go/internal/dto/responses/document.go
// honeyDueAPI-go/internal/models/document.go (DocumentType enum)
// ============================================================================
// ---------------------------------------------------------------------------
+5 -5
View File
@@ -1,11 +1,11 @@
// ============================================================================
// Static / lookup data types
// Generated from:
// myCribAPI-go/internal/handlers/static_data_handler.go (SeededDataResponse)
// myCribAPI-go/internal/dto/responses/residence.go (ResidenceTypeResponse)
// myCribAPI-go/internal/dto/responses/task.go (TaskCategory/Priority/Frequency)
// myCribAPI-go/internal/dto/responses/contractor.go (ContractorSpecialtyResponse)
// myCribAPI-go/internal/dto/responses/task_template.go (TaskTemplatesGroupedResponse)
// honeyDueAPI-go/internal/handlers/static_data_handler.go (SeededDataResponse)
// honeyDueAPI-go/internal/dto/responses/residence.go (ResidenceTypeResponse)
// honeyDueAPI-go/internal/dto/responses/task.go (TaskCategory/Priority/Frequency)
// honeyDueAPI-go/internal/dto/responses/contractor.go (ContractorSpecialtyResponse)
// honeyDueAPI-go/internal/dto/responses/task_template.go (TaskTemplatesGroupedResponse)
// ============================================================================
import type { ResidenceTypeResponse } from "./residence";
+2 -2
View File
@@ -1,8 +1,8 @@
// ============================================================================
// Notification request / response types
// Generated from:
// myCribAPI-go/internal/services/notification_service.go
// myCribAPI-go/internal/models/notification.go (NotificationType enum)
// honeyDueAPI-go/internal/services/notification_service.go
// honeyDueAPI-go/internal/models/notification.go (NotificationType enum)
// ============================================================================
// ---------------------------------------------------------------------------
+2 -2
View File
@@ -1,8 +1,8 @@
// ============================================================================
// Residence request / response types
// Generated from:
// myCribAPI-go/internal/dto/requests/residence.go
// myCribAPI-go/internal/dto/responses/residence.go
// honeyDueAPI-go/internal/dto/requests/residence.go
// honeyDueAPI-go/internal/dto/responses/residence.go
// ============================================================================
// ---------------------------------------------------------------------------
+2 -2
View File
@@ -1,8 +1,8 @@
// ============================================================================
// Subscription request / response types
// Generated from:
// myCribAPI-go/internal/services/subscription_service.go
// myCribAPI-go/internal/models/subscription.go (SubscriptionTier enum)
// honeyDueAPI-go/internal/services/subscription_service.go
// honeyDueAPI-go/internal/models/subscription.go (SubscriptionTier enum)
// ============================================================================
// ---------------------------------------------------------------------------
+1 -1
View File
@@ -1,7 +1,7 @@
// ============================================================================
// Task template response types
// Generated from:
// myCribAPI-go/internal/dto/responses/task_template.go
// honeyDueAPI-go/internal/dto/responses/task_template.go
// ============================================================================
import type { TaskCategoryResponse, TaskFrequencyResponse } from "./task";
+2 -2
View File
@@ -1,8 +1,8 @@
// ============================================================================
// Task request / response types
// Generated from:
// myCribAPI-go/internal/dto/requests/task.go
// myCribAPI-go/internal/dto/responses/task.go
// honeyDueAPI-go/internal/dto/requests/task.go
// honeyDueAPI-go/internal/dto/responses/task.go
// ============================================================================
import type { TotalSummary } from "./residence";