Skip to content

Commit

Permalink
Downgrade to firebase-admin 11.x
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Feb 2, 2024
1 parent 3d5930c commit 3583f4e
Show file tree
Hide file tree
Showing 5 changed files with 483 additions and 188 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ yarn install
```

2. Set up your environment variables (and optionally, a local Firebase instance):
Copy the `packages/nextjs/.env.example` file to `packages/nextjs/.env` and fill in the required environment variables.
Copy the `packages/nextjs/.env.example` file to `packages/nextjs/.env.local` and fill in the required environment variables.

(Optional) Start the firebase emulators (vs set up a live Firebase instance). You will need to install the [firebase CLI](https://firebase.google.com/docs/cli#install_the_firebase_cli) and run the following command:
```bash
Expand Down
6 changes: 4 additions & 2 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"port": 8080
},
"ui": {
"enabled": true
}
"enabled": true,
"port": 4000
},
"singleProjectMode": true
}
}
5 changes: 4 additions & 1 deletion packages/nextjs/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# NEXT_PUBLIC_ALCHEMY_API_KEY=
# NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=

# Firebase live vs local emulator.
# Important: Only one of the following lines should be uncommented at a time.
# If you want to use a live firebase project, you can use download the service account key json file and add the path here
# (for the local emulator, you can uncomment the line)
GOOGLE_APPLICATION_CREDENTIALS="/<your>/<path>/<to>/firebaseServiceAccountKey.json"
# If you want to spin the firebase emulator
FIRESTORE_EMULATOR_HOST=localhost:8080
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@uniswap/v2-sdk": "^3.0.1",
"blo": "^1.0.1",
"daisyui": "^4.4.19",
"firebase-admin": "^12.0.0",
"firebase-admin": "^11.11.1",
"next": "^14.0.4",
"nprogress": "^0.2.0",
"qrcode.react": "^3.1.0",
Expand Down
Loading

0 comments on commit 3583f4e

Please sign in to comment.