Add Democratic fundraising platform.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
root
2026-05-16 00:47:44 +00:00
parent 89f9b8dc83
commit 391d90a754
141 changed files with 14989 additions and 914 deletions

View File

@@ -1,6 +1,7 @@
# Copy to .env and fill in values. Never commit .env.
# --- App URLs (local LAN: use your container IP or 127.0.0.1) ---
NEXT_PUBLIC_SITE_URL=http://127.0.0.1:8008
NEXTAUTH_URL=http://127.0.0.1:8008
AUTH_URL=http://127.0.0.1:8008
AUTH_SECRET=generate_a_long_random_string_min_32_chars
@@ -11,14 +12,18 @@ DATABASE_URL=postgresql://fundraise:fundraise_local_dev@localhost:5432/fundraisi
# --- Branding & campaign copy ---
NEXT_PUBLIC_APP_NAME=Democracy Rising
PUBLIC_APP_NAME=Democracy Rising
PUBLIC_CREDIT_NAME=BLW
# Supporter credits (match NEXT_PUBLIC_* for browser — ticker + full name)
PUBLIC_CREDIT_TICKER=BWT
NEXT_PUBLIC_CREDIT_TICKER=BWT
PUBLIC_CREDIT_NAME=Blue Wave Token
NEXT_PUBLIC_CREDIT_NAME=Blue Wave Token
PUBLIC_CAMPAIGN_GOAL_USD=250000
# --- Legal / disclosure placeholders (not legal advice) ---
NEXT_PUBLIC_COMMITTEE_LEGAL_NAME_PLACEHOLDER=Your Committee Legal Name Here
COMMITTEE_LEGAL_NAME_PLACEHOLDER=Your Committee Legal Name Here
NEXT_PUBLIC_DISCLAIMER_TEXT=This deployment is for local demonstration. Configure FEC/state disclosures before accepting live contributions.
DISCLAIMER_TEXT=This deployment is for local demonstration. Configure FEC/state disclosures before accepting live contributions.
NEXT_PUBLIC_DISCLAIMER_TEXT=Contributions are solicited by an authorized political committee. Federal law requires political committees to report contributor information and to retain records in accordance with FEC rules. This statement is general information only and not legal, FEC, or tax advice; consult qualified counsel for your committee obligations.
DISCLAIMER_TEXT=Contributions are solicited by an authorized political committee. Federal law requires political committees to report contributor information and to retain records in accordance with FEC rules. This statement is general information only and not legal, FEC, or tax advice; consult qualified counsel for your committee obligations.
# --- Stripe (test keys for development; use restricted keys in shared environments) ---
STRIPE_SECRET_KEY=sk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -28,5 +33,8 @@ STRIPE_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Credits: whole credits granted per CREDIT_RATIO_CENTS_PER_USD cents donated (100 = 1 credit per dollar).
CREDIT_RATIO_CENTS_PER_USD=100
# Straw poll (/vote/next-president): BLW spent per ballot (default 5).
PUBLIC_POLL_VOTE_CREDITS=5
# Optional: Stripe CLI for local webhook forwarding:
# stripe listen --forward-to 127.0.0.1:8008/api/webhooks/stripe