@titas_mallick/wedding-site-gen 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.example ADDED
@@ -0,0 +1,27 @@
1
+ # --- Firebase Client ---
2
+ NEXT_PUBLIC_APIKEY=
3
+ NEXT_PUBLIC_AUTHDOMAIN=
4
+ NEXT_PUBLIC_PROJECTID=
5
+ NEXT_PUBLIC_STORAGEBUCKET=
6
+ NEXT_PUBLIC_SENDERID=
7
+ NEXT_PUBLIC_APPID=
8
+ NEXT_PUBLIC_MEASUREMENTID=
9
+ NEXT_PUBLIC_RECAPTCHA_SITE_KEY=
10
+
11
+ # --- Firebase Admin (Secrets) ---
12
+ FIREBASE_ADMIN_PROJECT_ID=
13
+ FIREBASE_ADMIN_PRIVATE_KEY_ID=
14
+ FIREBASE_ADMIN_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
15
+ FIREBASE_ADMIN_CLIENT_EMAIL=
16
+ FIREBASE_ADMIN_CLIENT_ID=
17
+ FIREBASE_ADMIN_CLIENT_X509_CERT_URL=
18
+
19
+ # --- AI & Content ---
20
+ NEXT_PUBLIC_GEMINI_API_KEY=
21
+ NEXT_PUBLIC_ADMIN_EMAIL=
22
+
23
+ # --- Media & Email ---
24
+ NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=
25
+ NEXT_PUBLIC_CLOUDINARY_UPLOAD_PRESET=wedding
26
+ RESEND_API_KEY=
27
+ CRON_SECRET=
package/README.md CHANGED
@@ -30,7 +30,10 @@ Answer the prompts to pre-configure your site's identity:
30
30
 
31
31
  ## 🛠️ Phase 2: System Infrastructure
32
32
 
33
- ### 1. Firebase (Database & Auth)
33
+ ### 1. Environment Configuration
34
+ A structured template is provided in `.env.example`. Duplicate this to `.env.local` and populate the values.
35
+
36
+ ### 2. Firebase (Database & Auth)
34
37
  1. Create a project at [Firebase Console](https://console.firebase.google.com/).
35
38
  2. **Authentication**: Enable "Email/Password".
36
39
  3. **Firestore**: Create a database in "Production Mode".
@@ -108,6 +111,7 @@ Go to `components/ConciergeBot.tsx` and find the `systemInstruction` variable. Y
108
111
 
109
112
  ### Guest Management Dashboard (`/invitation/maker`)
110
113
  Log in with your **Admin Email** to access:
114
+ - **Login Secret**: To log in as admin, scroll to the footer and click the small **"Celebrate" heart icon** next to the author's name. This will trigger the login modal.
111
115
  - **Guest List**: Create unique invitation IDs.
112
116
  - **Personalized Links**: Give every family a unique URL: `yoursite.com/invitation/[guest-id]`.
113
117
  - **RSVP Tracking**: Live view of attendance and meal choices.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titas_mallick/wedding-site-gen",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "A comprehensive AI-powered wedding website generator based on Next.js, Firebase, and Gemini AI.",
5
5
  "keywords": [
6
6
  "wedding",