TwitchClone / .env.example
.env.example
Raw
# Since .env is gitignored, you can use .env.example to build a new `.env` file when you clone the repo.
# Keep this file up-to-date when you add new variables to `.env`.

# This file will be committed to version control, so make sure not to have any secrets in it.
# If you are cloning this repo, create a copy of this file named `.env` and populate it with your secrets.

# When adding additional env variables, the schema in /env/schema.mjs should be updated accordingly
# Prisma
# DATABASE_URL=file:./db.sqlite
# DATABASE_URL="mysql://lw8nwvnqtma7est903ox:pscale_pw_77WtaDUpljafI4VZuD3F5Vig7cHPnhMY71uLdFvgZir@aws.connect.psdb.cloud/twitch_clone?sslaccept=strict"
DATABASE_URL='mysql://vq5twvqy2m2idea6cwpn:pscale_pw_7dn8Hqy8uaVMICjdQbxOlLVE8r2bF1tecE6OIuwhXMw@aws.connect.psdb.cloud/twitch_clone?sslaccept=strict'
# DATABASE_URL='mysql://at5ffkq88ekc3ekvtj6g:pscale_pw_CFFHLTdecRshwZN6BnBGwKKTFTttPHJVBHvLTmdfiXI@aws.connect.psdb.cloud/twitch_clone?sslaccept=strict'
# test
# DATABASE_URL='mysql://fqjga4lasrkhwa1ra03v:pscale_pw_Xeihz2htxn0d3VXeVcDip73cwC9iIkIPe2eBpWRH5to@aws.connect.psdb.cloud/twitch_clone?sslaccept=strict'

# Next Auth
# You can generate the secret via 'openssl rand -base64 32' on Linux
# More info: https://next-auth.js.org/configuration/options#secret
 NEXTAUTH_SECRET=XcDwgXXKe53aPP26xzDja57ti1DwE0tI0V2Sn+xnt9U=
NEXTAUTH_URL=http://localhost:3000

# Next Auth Discord Provider
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=

GOOGLE_CLIENT_ID=219977675233-u9hut1vpnn4mvt5h0qt87nskcbkl52fl.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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

  # AWS_ACCESS_KEY_ID=AKIAQD4CPZNQ25RMPWTP
  # AWS_SECRET_ACCESS_KEY=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
  # AWS_REGION=us-east-2

    PUSHER_APP_ID=1577682
    PUSHER_APP_KEY=6bb7f6c549686920de7a
    PUSHER_APP_SECRET=6b86e175eef618af2bc4
    PUSHER_APP_CLUSTER=us3
    PUSHER_APP_TLS=true

    # MUX_TOKEN_ID=ef54fb68-1236-410c-9d31-b47ded87073a
    # MUX_SECRET_KEY=jNMFOBnmdBuS5MOg3XHHGoJENAc5ohsQUW445gRCPYxKBgLLfb13MnZo77CsR/t1+3r11NN276y
    
    MUX_TOKEN_ID=ef54fb68-1236-410c-9d31-b47ded87073a
    MUX_SECRET_KEY=jNMFOBnmdBuS5MOg3XHHGoJENAc5ohsQUW445gRCPYxKBgLLfb13MnZo77CsR/t1+3r11NN276y
    MUX_SIGNING_SECRET=lj3cgg2p7feevjp3gc3qmbpnrmhuio3b
    MUX_HOOK_URL=http://f163-47-156-67-21.ngrok-free.app/api/mux-webhook
   # MUX_TOKEN_ID=ef54fb68-1236-410c-9d31-b47ded87073a
   # MUX_SECRET_KEY=jNMFOBnmdBuS5MOg3XHHGoJENAc5ohsQUW445gRCPYxKBgLLfb13MnZo77CsR/t1+3r11NN276y
   # MUX_SIGNING_SECRET=r98fo8e0osu5gj7577a9tiphphho9kj7
   # MUX_HOOK_URL=http://9ca1-47-156-67-21.ngrok.io/api/mux-webhook