Hi there,
Does Vercel support a react.js frontend and a node.js backend without a complicated VPS?
Thanks
Hi there,
Does Vercel support a react.js frontend and a node.js backend without a complicated VPS?
Thanks
This depends on your actual backend architecture. Vercel does not support running servers (e.g. npm run start
, node app.js
, etc.), but you could use Express.js, for example.
You can learn more in these Articles:
Thanks for the reply.
Does that mean I can use axios like this
const res = await axios.post(‘http://localhost:8383/lesson/lesson-run’, sentData, {
headers:{
‘Authorization’: Bearer ${userData.acessToken}
}
})
and then process that request on the server side? My server side handles logins and the above example will fire a request to an external API and return it’s response.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.