Display a message to website by implementing Python, RabbitMQ, NodeJS

I have a project that uses Python for the backend, RabbitMQ as middleware, and NodeJS for the frontend. Is there any method to display a simple “Hello World!” to the website using Python, RabbitMQ, and NodeJS? Thank you so much


you can use Flask for a simple hello world like so:

from flask import Flask

app = Flask(__name__)

def hello_world():
    return "Hello, World!"

if __name__ == "__main__":
    app.run(host="localhost", port=5000)

running this file should open the server for connections, you can then connect to http://localhost:5000 in a browser of your choice to see if your web server is up and running.