let's say you use a React frontend with your Node backend. Then your backend might have a route /messages on which you can perform a GET request from your frontend, e.g.
fetch('https://yournodebackend.com/messages)
.then(response => response.json())
.then(jsonResponse => console.log(jsonResponse)) // or do whatever you like
If your node backend supports more routes and request types like POST, PUT, DELETE, you can query them from your frontend similarly.
Hope, this could go in the right direction for your purpose..! Happy hacking 😄
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
All I want to do is link Node (as a backend) to a frontend (any GUI toolkit).
I'm making a Discord bot to be used as a an application (separate from Discord, but serving a similar purpose to).
let's say you use a React frontend with your Node backend. Then your backend might have a route
/messages
on which you can perform a GET request from your frontend, e.g.If your node backend supports more routes and request types like POST, PUT, DELETE, you can query them from your frontend similarly.
Hope, this could go in the right direction for your purpose..! Happy hacking 😄