Skip to content

Commit 416cbc7

Browse files
Merge pull request #357 from Abh1noob/migration
Migration to GCS
2 parents 78fc848 + a56eebf commit 416cbc7

18 files changed

Lines changed: 5412 additions & 13922 deletions

.env.example

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@
99
# When adding additional environment variables, the schema in "/src/env.js"
1010
# should be updated accordingly.
1111

12-
CLOUDINARY_API_KEY=""
13-
CLOUDINARY_SECRET=""
14-
CRYPTO_SECRET=""
1512
EMAIL_HOST=""
1613
EMAIL_PASSWORD=""
1714
EMAIL_PORT=""
1815
EMAIL_SECURE=""
1916
EMAIL_USER=""
2017
JWT_SECRET=""
2118
MONGODB_URI=""
22-
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
2319
NEXT_PUBLIC_CRYPTO_SECRET=""
2420
KV_URL=""
2521
KV_REST_API_URL=""
@@ -30,3 +26,9 @@ SERVER_URL=""
3026
GOOGLE_CLIENT_EMAIL=""
3127
GOOGLE_PRIVATE_KEY=""
3228
SHEET_ID=""
29+
30+
31+
# Google Cloud Storage
32+
GOOGLE_CLOUD_PROJECT=""
33+
GOOGLE_CLOUD_BUCKET=""
34+
GOOGLE_APPLICATION_CREDENTIALS_JSON=""

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- Next.js : Framework for React applications with server-side rendering.
1717
- Tailwind CSS : Utility-first CSS framework for rapid UI development.
1818
- MongoDB & Mongoose : Database and object data modeling (ODM) for Node.js.
19-
- Cloudinary : Media storage and optimization service.
19+
- Google Cloud Storage: Media storage and optimization service.
2020
- Shadcn : Collection of pre-built components using Radix UI and Tailwind CSS.
2121
## 💡 Features:
2222

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ await import("./src/env.js");
88
const config = {
99
swcMinify: false,
1010
images: {
11-
domains: ["res.cloudinary.com"],
11+
domains: ["storage.googleapis.com"],
1212
},
1313
webpack: (config, options) => {
1414
config.resolve.alias.canvas = false;

0 commit comments

Comments
 (0)