Rebrand from Casera/MyCrib to honeyDue
Total rebrand across all Go API source files: - Go module path: casera-api -> honeydue-api - All imports updated (130+ files) - Docker: containers, images, networks renamed - Email templates: support email, noreply, icon URL - Domains: casera.app/mycrib.treytartt.com -> honeyDue.treytartt.com - Bundle IDs: com.tt.casera -> com.tt.honeyDue - IAP product IDs updated - Landing page, admin panel, config defaults - Seeds, CI workflows, Makefile, docs - Database table names preserved (no migration needed) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Push Notifications Architecture
|
||||
|
||||
This document describes how push notifications work in the Casera API.
|
||||
This document describes how push notifications work in the honeyDue API.
|
||||
|
||||
## Overview
|
||||
|
||||
The Casera API sends push notifications directly to Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM) without any intermediate push server. This approach:
|
||||
The honeyDue API sends push notifications directly to Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM) without any intermediate push server. This approach:
|
||||
|
||||
- Reduces infrastructure complexity (no Gorush or other push server needed)
|
||||
- Provides direct control over notification payloads
|
||||
@@ -14,7 +14,7 @@ The Casera API sends push notifications directly to Apple Push Notification serv
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────────────────────────┐
|
||||
│ Casera API │
|
||||
│ honeyDue API │
|
||||
├─────────────────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ ┌──────────────┐ ┌─────────────────────┐ ┌───────────────────┐ │
|
||||
@@ -153,7 +153,7 @@ let taskCategory = UNNotificationCategory(
|
||||
| `APNS_AUTH_KEY_PATH` | For iOS | Path to .p8 key file |
|
||||
| `APNS_AUTH_KEY_ID` | For iOS | Key ID from Apple Developer |
|
||||
| `APNS_TEAM_ID` | For iOS | Team ID from Apple Developer |
|
||||
| `APNS_TOPIC` | For iOS | Bundle ID (e.g., `com.tt.casera.CaseraDev`) |
|
||||
| `APNS_TOPIC` | For iOS | Bundle ID (e.g., `com.tt.honeyDue.honeyDueDev`) |
|
||||
| `APNS_PRODUCTION` | No | `true` for production, `false` for sandbox |
|
||||
| `APNS_USE_SANDBOX` | No | Deprecated, use `APNS_PRODUCTION` |
|
||||
| `FCM_SERVER_KEY` | For Android | Firebase Cloud Messaging server key |
|
||||
@@ -168,7 +168,7 @@ volumes:
|
||||
- ./push_certs:/certs:ro
|
||||
|
||||
# Dokku
|
||||
dokku storage:mount casera-api /path/to/push_certs:/certs
|
||||
dokku storage:mount honeydue-api /path/to/push_certs:/certs
|
||||
```
|
||||
|
||||
## Data Flow
|
||||
@@ -263,7 +263,7 @@ log.Info().
|
||||
docker-compose logs -f worker
|
||||
|
||||
# Dokku
|
||||
dokku logs casera-api -p worker
|
||||
dokku logs honeydue-api -p worker
|
||||
```
|
||||
|
||||
### Test Push Manually
|
||||
|
||||
Reference in New Issue
Block a user