'How to use nodejs with ROS

I have a project where I have users on the backend and I have go-karts run by rosbag which in turn is on the frontend. I want to put my topics in a database but I have no idea what it could be, that's when I found the rosnodejs option. Can anyone help me with how ROS works with nodejs? I can't find one on the internet that is connected to port 9090, which works by default.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source