* feat: initial button setup client * feat: rename walletsButton to .tsx * chore: typescriptize wallet component * chore: re-add keys to config, env, etc + check in gatsby-node * feat: refactor donate form and wallet component * feat(client): set labels correctly * chore: add stripe package back to server * chore: add stripe back to allowed paths * chore: copy donate.js code from PR #41924 * feat: attempt to make back end work * feat: make redux work * feat: clean up * feat: hokify * feat: add error handling * fix: back-end should be working * fix: type errors * fix: clean up back-end * feat:addd styles * feat: connect the client to the api * feat: display wallets button everywhere * test: add stripe key for cypress action * test: fix for cypress tests * test: cypress tests again * test: maybe? * test: more * test: more * test: more * test * askdfjasklfj * fix: tests finally? * revert: remove space from cypress yaml action * remove logs Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
77 lines
1.8 KiB
Bash
77 lines
1.8 KiB
Bash
# ---------------------
|
|
# API
|
|
# ---------------------
|
|
|
|
# Database
|
|
MONGOHQ_URL=mongodb://localhost:27017/freecodecamp
|
|
|
|
# Logging
|
|
SENTRY_DSN=dsn_from_sentry_dashboard
|
|
SENTRY_ENVIRONMENT=staging
|
|
|
|
# Auth0 - OAuth 2.0 Credentials
|
|
AUTH0_CLIENT_ID=client_id_from_auth0_dashboard
|
|
AUTH0_CLIENT_SECRET=client_secret_from_auth0_dashboard
|
|
AUTH0_DOMAIN=example.auth0.com
|
|
|
|
# Session, Cookie and JWT encryption strings
|
|
SESSION_SECRET=a_session_secret
|
|
COOKIE_SECRET=a_cookie_secret
|
|
JWT_SECRET=a_jwt_secret
|
|
|
|
# ---------------------
|
|
# Search
|
|
# ---------------------
|
|
|
|
# Client Search Bar
|
|
ALGOLIA_APP_ID=app_id_from_algolia_dashboard
|
|
ALGOLIA_API_KEY=api_key_from_algolia_dashboard
|
|
|
|
# ---------------------
|
|
# Donations
|
|
# ---------------------
|
|
|
|
# Stripe
|
|
STRIPE_CREATE_PLANS=true
|
|
STRIPE_PUBLIC_KEY=pk_from_stripe_dashboard
|
|
STRIPE_SECRET_KEY=sk_from_stripe_dashboard
|
|
|
|
# PayPal
|
|
PAYPAL_CLIENT_ID=id_from_paypal_dashboard
|
|
PAYPAL_SECRET=secret_from_paypal_dashboard
|
|
PAYPAL_VERIFY_WEBHOOK_URL=https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
|
|
PAYPAL_API_TOKEN_URL=https://api.sandbox.paypal.com/v1/oauth2/token
|
|
PAYPAL_WEBHOOK_ID=webhook_id_from_paypal_dashboard
|
|
|
|
# ---------------------
|
|
# Build variants
|
|
# ---------------------
|
|
DEPLOYMENT_ENV=staging
|
|
FREECODECAMP_NODE_ENV=development
|
|
|
|
# Languages to build
|
|
CLIENT_LOCALE=english
|
|
CURRICULUM_LOCALE=english
|
|
|
|
# Show or hide WIP in progress challenges
|
|
SHOW_UPCOMING_CHANGES=false
|
|
|
|
# Application paths
|
|
HOME_LOCATION=http://localhost:8000
|
|
API_LOCATION=http://localhost:3000
|
|
FORUM_LOCATION=https://forum.freecodecamp.org
|
|
NEWS_LOCATION=https://www.freecodecamp.org/news
|
|
RADIO_LOCATION=https://coderadio.freecodecamp.org
|
|
|
|
# ---------------------
|
|
# Debugging Mode Keys
|
|
# ---------------------
|
|
|
|
PEER=stuff
|
|
DEBUG=true
|
|
LOCAL_MOCK_AUTH=true
|
|
CODESEE=false
|
|
|
|
# Webhook proxy url from smee.io for PayPal
|
|
WEBHOOK_PROXY_URL=
|