arabdullah commited on
Commit
705bd1a
·
verified ·
1 Parent(s): a0fda44

Create ecosystem.config.js

Browse files
Files changed (1) hide show
  1. ecosystem.config.js +17 -0
ecosystem.config.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module.exports = {
2
+ apps: [
3
+ {
4
+ name: 'backend', // Name of the backend process
5
+ script: 'nodemon',
6
+ args: 'start', // Arguments for nodemon
7
+ watch: true
8
+ },
9
+ {
10
+ name: 'frontend', // Name of the frontend process
11
+ script: 'npm',
12
+ args: 'start',
13
+ cwd: './client', // The directory where your frontend is located
14
+ watch: true
15
+ }
16
+ ]
17
+ };