Version 1.3.0

- Implemented authentication and billing routes for Jpn region.
- Refactored and changed the project structure from CommonJS to ES Modules
This commit is contained in:
Junior 2025-04-29 16:20:09 -03:00
parent 9584e58143
commit c3d9e7afb5
76 changed files with 3847 additions and 1109 deletions

40
ecosystem.config.cjs Normal file
View file

@ -0,0 +1,40 @@
module.exports = {
apps: [
{
name: 'rh-api-all',
script: 'src/app.js',
args: 'mainApp usaApp jpnApp proxyServer',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production'
}
},
{
name: 'rh-api-usa',
script: 'src/app.js',
args: 'mainApp usaApp',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production'
}
},
{
name: 'rh-api-jpn',
script: 'src/app.js',
args: 'mainApp jpnApp proxyServer',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production'
}
}
]
};