Environment Variable

Environment Variable

There is a file called ".env" in the project files that holds all the environment variables used in the app.

Vite Project

.env

_13
// FOR FIREBASE AUTHENTICATION
_13
VITE_FIREBASE_APT_KEY =
_13
VITE_FIREBASE_AUTH_DOMAIN =
_13
VITE_FIREBASE_DATABASE_URL =
_13
VITE_FIREBASE_PROJECT_ID =
_13
VITE_FIREBASE_STORAGE_BUCKET =
_13
VITE_FIREBASE_MESSAGING_SENDER_ID =
_13
VITE_FIREBASE_APP_ID =
_13
VITE_FIREBASE_MEASUREMENT_ID =
_13
_13
// FOR AUTH0 AUTHENTICATION
_13
VITE_AUTH0_CLIENT_ID =
_13
VITE_AUTH0_DOMAIN =

Next.js Project

.env

_13
// FOR FIREBASE AUTHENTICATION
_13
NEXT_PUBLIC_FIREBASE_APT_KEY =
_13
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN =
_13
NEXT_PUBLIC_FIREBASE_DATABASE_URL =
_13
NEXT_PUBLIC_FIREBASE_PROJECT_ID =
_13
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET =
_13
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID =
_13
NEXT_PUBLIC_FIREBASE_APP_ID =
_13
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID =
_13
_13
// FOR AUTH0 AUTHENTICATION
_13
NEXT_PUBLIC_AUTH0_CLIENT_ID =
_13
NEXT_PUBLIC_AUTH0_DOMAIN =

Reference