How many nodejs app instances can I run on this server
I have developed a nodejs api using express, mysql and prisma orm. Traffic will be very low. Around 100 requests an hour at peak usage. Most api calls involve a call to the db. Data returned will also be small. Maybe 10 to 20 rows at a time. The database will have around 30 tables, most of which will have very limited number of rows. Again, around 10 to 20 rows. There is however a transaction table that could over time become relatively big, lets say 3000 rows in a year.
How many nodejs app instances can I run on this server
I have developed a nodejs api using express, mysql and prisma orm. Traffic will be very low. Around 100 requests an hour at peak usage. Most api calls involve a call to the db. Data returned will also be small. Maybe 10 to 20 rows at a time. The database will have around 30 tables, most of which will have very limited number of rows. Again, around 10 to 20 rows. There is however a transaction table that could over time become relatively big, lets say 3000 rows in a year.
How many nodejs app instances can I run on this server
I have developed a nodejs api using express, mysql and prisma orm. Traffic will be very low. Around 100 requests an hour at peak usage. Most api calls involve a call to the db. Data returned will also be small. Maybe 10 to 20 rows at a time. The database will have around 30 tables, most of which will have very limited number of rows. Again, around 10 to 20 rows. There is however a transaction table that could over time become relatively big, lets say 3000 rows in a year.
How many nodejs app instances can I run on this server
I have developed a nodejs api using express, mysql and prisma orm. Traffic will be very low. Around 100 requests an hour at peak usage. Most api calls involve a call to the db. Data returned will also be small. Maybe 10 to 20 rows at a time. The database will have around 30 tables, most of which will have very limited number of rows. Again, around 10 to 20 rows. There is however a transaction table that could over time become relatively big, lets say 3000 rows in a year.
Cannot POST /api/signup in Express.js application despite route configuration
Problem:
I am building an Express.js application with a /signup endpoint under the /api route. However, when I try to POST to /api/signup, I receive a Cannot POST /api/signup error in response.
req.body is being empty
req.body is being empty for only /api/login and /api/signup but working fine for other routes.Checked everything, and everything looks good but still this. already used parsers as other routes are working fine. I have sent the req to /api/login from frontend using axios but it is returning missing fields.
Express next is not a function [closed]
Closed 2 days ago.
Unable to access local Node.js server externally
I’ve set up a local Node.js server using Express, and I’m trying to make it accessible from outside my local network. Here are the details of my setup:
Unable to access local Node.js server externally
I’ve set up a local Node.js server using Express, and I’m trying to make it accessible from outside my local network. Here are the details of my setup:
Express Error middleware doesn’t catching errors
I have the following update endpoint which set some important metrics. It works fine, but some times it makes errors and then the app is crashed even through I’ve configured error middleware.