update consumers

This commit is contained in:
Emily
2024-09-18 17:57:25 +02:00
parent 0be3dbecbf
commit 628e471cec
10 changed files with 953 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
module.exports = {
apps: [
{
name: 'QueueBroker',
port: '3999',
name: 'consumer-database',
exec_mode: 'fork',
script: './dist/consumer-database/src/index.js',
env: {

View File

@@ -11,14 +11,15 @@
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"name": "litlyx-queue-broker",
"name": "consumer-database",
"version": "1.0.0",
"main": "dist/index.js",
"scripts": {
"dev": "node scripts/start_dev.js",
"compile": "tsc",
"build": "node ../scripts/build.js",
"build_all": "npm run compile && npm run build"
"create_db": "cd scripts && ts-node create_database.ts",
"build_all": "npm run compile && npm run build && npm run create_db"
},
"keywords": [],
"author": "Emily",