Skip to content

Commit

Permalink
fix billing, added readme & .envs
Browse files Browse the repository at this point in the history
  • Loading branch information
jatolentino committed Mar 31, 2024
1 parent 2d2bc6a commit a1de223
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions backend/.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ API_SECRET=

# FOR STRIPE PAYMENT IN TEST (DEVELOPMENT) MODE
# these are the default keys provided by Stripe
STRIPE_TEST_PUBLISH_KEY=
STRIPE_TEST_SECRET_KEY=
STRIPE_TEST_PUBLISH_KEY=pk_test_TYooMQauvdEDq54NiTphI7jx
STRIPE_TEST_SECRET_KEY=sk_test_4eC39HqLyjWDarjtT1zdp7dc
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


# FILL THESE PARAMENTERS EXCLUSIVERLY FOR PRODUCTION
# FOR STRIPE PAYMENT IN LIVE (PRODUCTION) MODE
# these are the default keys provided by Stripe
STRIPE_LIVE_PUBLISH_KEY=
STRIPE_LIVE_SECRET_KEY=
STRIPE_LIVE_PUBLISH_KEY=pk_test_TYooMQauvdEDq54NiTphI7jx
STRIPE_LIVE_SECRET_KEY=sk_test_4eC39HqLyjWDarjtT1zdp7dc

# POSTGRESQL DATABASE SETUP
DB_ENGINE=django.db.backends.postgresql_psycopg2
Expand Down
8 changes: 4 additions & 4 deletions frontend/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ REACT_APP_ENVIRONMENT=DEVELOPMENT
REACT_APP_DEBUG=true #change it to false in production

#BASE URL OF HOST FOR DEV. & PROD.
REACT_APP_DEV_URL=
REACT_APP_PROD_URL=
REACT_APP_DEV_URL=http://127.0.0.1:8000
REACT_APP_PROD_URL=https://www.example.com

#CLOUDINARY CONFIG
REACT_APP_CLOUDINARY_API_KEY=
REACT_APP_CLOUDINARY_API_SECRET=
REACT_APP_CLOUDINARY_CLOUD_NAME=

#STRIPE CONFIG
REACT_APP_STRIPE_PUBLISH_KEY_DEV=
REACT_APP_STRIPE_PUBLISH_KEY_PROD=
REACT_APP_STRIPE_PUBLISH_KEY_DEV=pk_test_TYooMQauvdEDq54NiTphI7jx
REACT_APP_STRIPE_PUBLISH_KEY_PROD=pk_test_TYooMQauvdEDq54NiTphI7jx

0 comments on commit a1de223

Please sign in to comment.