forked from CipherYuvraj/Greenstagram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
44 lines (44 loc) · 1.04 KB
/
vercel.json
File metadata and controls
44 lines (44 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"version": 2,
"projects": [
{
"name": "greenstagram-frontend",
"source": "frontend",
"framework": "vite",
"buildCommand": "npm run build",
"outputDirectory": "build",
"installCommand": "npm install",
"devCommand": "npm run dev",
"env": {
"VITE_API_URL": "@api_url",
"VITE_APP_ENV": "@app_env"
}
},
{
"name": "greenstagram-backend",
"source": "backend",
"runtime": "nodejs18.x",
"buildCommand": "npm run build",
"installCommand": "npm install",
"functions": {
"backend/dist/**/*.js": {
"runtime": "nodejs18.x"
}
},
"env": {
"NODE_ENV": "@node_env",
"MONGODB_URI": "@mongodb_uri",
"JWT_SECRET": "@jwt_secret",
"AZURE_CLIENT_ID": "@azure_client_id",
"AZURE_CLIENT_SECRET": "@azure_client_secret",
"AZURE_TENANT_ID": "@azure_tenant_id",
"REDIS_URL": "@redis_url"
}
}
],
"build": {
"env": {
"NODE_VERSION": "18"
}
}
}