Rebrand from Casera/MyCrib to honeyDue
Total rebrand across KMM project: - Kotlin package: com.example.casera -> com.tt.honeyDue (dirs + declarations) - Gradle: rootProject.name, namespace, applicationId - Android: manifest, strings.xml (all languages), widget resources - iOS: pbxproj bundle IDs, Info.plist, entitlements, xcconfig - iOS directories: Casera/ -> HoneyDue/, CaseraTests/ -> HoneyDueTests/, etc. - Swift source: all class/struct/enum renames - Deep links: casera:// -> honeydue://, .casera -> .honeydue - App icons replaced with honeyDue honeycomb icon - Domains: casera.treytartt.com -> honeyDue.treytartt.com - Bundle IDs: com.tt.casera -> com.tt.honeyDue - Database table names preserved Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
24
CLAUDE.md
24
CLAUDE.md
@@ -10,12 +10,12 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
## Project Overview
|
||||
|
||||
MyCrib (Casera) is a Kotlin Multiplatform Mobile (KMM) property management application with shared business logic and platform-specific UI implementations. The backend is a Go REST API with PostgreSQL (located in the sibling `myCribAPI-go` directory).
|
||||
HoneyDue (honeyDue) is a Kotlin Multiplatform Mobile (KMM) property management application with shared business logic and platform-specific UI implementations. The backend is a Go REST API with PostgreSQL (located in the sibling `honeyDueAPI-go` directory).
|
||||
|
||||
**Tech Stack:**
|
||||
- **Shared (Kotlin)**: Compose Multiplatform for Android, networking layer, ViewModels, models
|
||||
- **iOS**: SwiftUI with Kotlin shared layer integration via SKIE
|
||||
- **Backend**: Go REST API with PostgreSQL (separate directory at `../myCribAPI-go`)
|
||||
- **Backend**: Go REST API with PostgreSQL (separate directory at `../honeyDueAPI-go`)
|
||||
|
||||
## Build Commands
|
||||
|
||||
@@ -56,7 +56,7 @@ open iosApp/iosApp.xcodeproj
|
||||
|
||||
## Architecture
|
||||
|
||||
### Shared Kotlin Layer (`composeApp/src/commonMain/kotlin/com/example/casera/`)
|
||||
### Shared Kotlin Layer (`composeApp/src/commonMain/kotlin/com/example/honeydue/`)
|
||||
|
||||
**Core Components:**
|
||||
|
||||
@@ -319,7 +319,7 @@ FormHeader(
|
||||
OrganicFormHeader(
|
||||
icon: "person.fill",
|
||||
title: "Create Account",
|
||||
subtitle: "Join Casera today"
|
||||
subtitle: "Join honeyDue today"
|
||||
)
|
||||
|
||||
// Form section with icon header
|
||||
@@ -880,7 +880,7 @@ The app uses a comprehensive theming system with 11 themes matching iOS:
|
||||
fun App() {
|
||||
val currentTheme by remember { derivedStateOf { ThemeManager.currentTheme } }
|
||||
|
||||
MyCribTheme(themeColors = currentTheme) {
|
||||
HoneyDueTheme(themeColors = currentTheme) {
|
||||
// App content
|
||||
}
|
||||
}
|
||||
@@ -1199,14 +1199,14 @@ fun ThemePickerDialog(
|
||||
|
||||
## Environment Configuration
|
||||
|
||||
**API Environment Toggle** (`composeApp/src/commonMain/kotlin/com/example/casera/network/ApiConfig.kt`):
|
||||
**API Environment Toggle** (`composeApp/src/commonMain/kotlin/com/example/honeydue/network/ApiConfig.kt`):
|
||||
|
||||
```kotlin
|
||||
val CURRENT_ENV = Environment.DEV // or Environment.LOCAL
|
||||
```
|
||||
|
||||
- `Environment.LOCAL`: Points to `http://10.0.2.2:8000/api` (Android emulator) or `http://127.0.0.1:8000/api` (iOS simulator)
|
||||
- `Environment.DEV`: Points to `https://mycrib.treytartt.com/api`
|
||||
- `Environment.DEV`: Points to `https://honeyDue.treytartt.com/api`
|
||||
|
||||
**Change this to switch between local Go backend and production server.**
|
||||
|
||||
@@ -1297,7 +1297,7 @@ Currently tests are minimal. When adding tests:
|
||||
|
||||
### Committing Changes
|
||||
|
||||
When committing changes that span both iOS and Android, commit them together in the KMM repository. If backend changes are needed, commit separately in the `myCribAPI-go` repository.
|
||||
When committing changes that span both iOS and Android, commit them together in the KMM repository. If backend changes are needed, commit separately in the `honeyDueAPI-go` repository.
|
||||
|
||||
### DataManager Initialization
|
||||
|
||||
@@ -1344,10 +1344,10 @@ Without `forceRefresh`, APILayer returns cached data.
|
||||
## Project Structure Summary
|
||||
|
||||
```
|
||||
MyCribKMM/
|
||||
HoneyDueKMM/
|
||||
├── composeApp/
|
||||
│ └── src/
|
||||
│ ├── commonMain/kotlin/com/example/casera/
|
||||
│ ├── commonMain/kotlin/com/example/honeydue/
|
||||
│ │ ├── data/ # DataManager, PersistenceManager
|
||||
│ │ ├── models/ # Shared data models (kotlinx.serialization)
|
||||
│ │ ├── network/ # APILayer, *Api clients, ApiConfig
|
||||
@@ -1382,5 +1382,5 @@ MyCribKMM/
|
||||
|
||||
## Related Repositories
|
||||
|
||||
- **Backend API**: `../myCribAPI-go` - Go REST API with PostgreSQL
|
||||
- **Documentation**: `../myCribAPI-go/docs` - Server configuration and API docs
|
||||
- **Backend API**: `../honeyDueAPI-go` - Go REST API with PostgreSQL
|
||||
- **Documentation**: `../honeyDueAPI-go/docs` - Server configuration and API docs
|
||||
|
||||
Reference in New Issue
Block a user