- Renamed project to "tilbudgivern-unified" and updated package.json accordingly. - Created a new frontend server to proxy API requests and serve static files. - Added SQL scripts for inserting sample data and setting up pricing tables. - Configured Nginx for both HTTP and HTTPS with security headers and proxy settings. - Implemented a unified server to handle API requests and serve the frontend application. - Added endpoints for labor and material pricing management, including CRUD operations. - Introduced testing script for frontend API interaction.
17 lines
313 B
JSON
17 lines
313 B
JSON
{
|
|
"apps": [
|
|
{
|
|
"name": "tilbudgivern-unified",
|
|
"script": "unified-server.js",
|
|
"cwd": "/home/alex/git/tilbudgivern",
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"PORT": "4030"
|
|
},
|
|
"restart_delay": 4000,
|
|
"max_restarts": 10,
|
|
"min_uptime": "10s"
|
|
}
|
|
]
|
|
}
|