Redis – Persist data for 24 hours
I need to build a microservice that scrapes a message once a day and persists it somewhere. It does not need to be accessible after 24 hours (it can be deleted). It doesn't really matter where or how, but I…
I need to build a microservice that scrapes a message once a day and persists it somewhere. It does not need to be accessible after 24 hours (it can be deleted). It doesn't really matter where or how, but I…
I've got impressed with the simplicity of AWS Elastic Beanstalk and created multiple environments to deploy my express.js APIs. I've used the Classic Load Balancer with incoming requests using ports 80 & 443 and redirecting them inbound to 80 on…
I am trying to process the output of a specific function that uses process.stdout / process.stdin to print the commands results to the terminal. To be more specific, this Kubernetes function https://github.com/kubernetes-client/javascript/blob/master/src/exec.ts with this usage: const exec = new k8s.Exec(kc);…
Since I have moved to the new Apple Silicon architecture my docker setup with nextjs and postgres is not working anymore. The database inside the docker cannot be found by the nextjs server where I am using prisma. The prisma…
I've tried using standard nginx and nodejs configurations following many documentation, but unlike other tutorials there are several files that don't appear in many of the tutorials using Jelastic Paas or additional files such as nginx-jelastic.conf. Additionally the Jelastic documentation…
I am making a telegram bot where i am receving data from api call. the api is returning me data like this articles is the array and i want to retrive all the news from this . when i do…
Javascript is single threaded and - Node.js uses an asynchronous event-driven design pattern, which means that multiple actions are taken at the same time while executing a program. With this in mind, I have a pseudo code: myFunction() // main…
I have a server (VPS Amazon) with Ubuntu. In this server is running my backend node and my frontend React. My ReactApp is running over nginx and my backend over pm2. In my react app I defined REACT_APP_BASE_URL: http://[my_ip_server]:4000. So…
I want to make a telegram bot about algebra. I need to send code to http://api.mathjs.org/v4/?expr=2*(7-3) after the expr part. I want to send numbers with inline query, but how can I do it?
My Vue app is set up using Vue CLI (Webpack) and it's working as it should. My NodeJS/Express REST API is also working properly. However, to run them simultaneously I now start a local server for each of them --…