-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
38 lines (29 loc) · 661 Bytes
/
Copy path.replit
File metadata and controls
38 lines (29 loc) · 661 Bytes
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
modules = ["nodejs-20", "web"]
run = "npm start"
[nix]
channel = "stable-24_05"
[deployment]
run = ["sh", "-c", "npm start"]
[[ports]]
localPort = 3000
externalPort = 3000
[[ports]]
localPort = 4200
externalPort = 4200
exposeLocalhost = true
[workflows]
runButton = "Start Frontend"
[[workflows.workflow]]
name = "Start Backend"
author = 39935950
mode = "sequential"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd backend && npm install && node server.js"
[[workflows.workflow]]
name = "Start Frontend"
author = 39935950
mode = "sequential"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd frontend && npm install && npm start"