OK, so I have installed webpack over npm. Additional I need some additional code in the vue.config.js, correct? Now my vue.config.js is:

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    devServer: {
      proxy: {
        '/api': {
          target: 'http://localhost:3080',
},},},},})

And edit the Endpoint to ...app.post("/api/signup",async (req,res)=>{... but its not work.

I get this error: Proxy error: Could not proxy request /api/signup from localhost:8080 to http://localhost:3080 (ECONNREFUSED).

Answer from coldstone on Stack Overflow
🌐
DEV Community
dev.to › tqbit › quick-dirty-how-to-deploy-a-fullstack-vue-js-app-with-a-working-node-js-backend-51k4
Quick & dirty: How to deploy a fullstack Vue.js app with a working node.js backend - DEV Community
July 8, 2021 - Setting up a basic node backend. Setting up the Vue client. Configure npm scripts to automate deployments from Github. Make sure to execute these commands as su, should you follow on a Linux machine. # Create a new working directory, change into it $ mkdir node-vue-app && cd node-vue-app # Initialize an npm project and a git repos $ npm init -y && git init # Create a client folder to hold the vue project, # a public folder from which to serve it later # and an index.js for our server logic $ mkdir client && mkdir public $ touch index.js # Install the relevant server dependencies $ npm i express # Add node_modules and public folders to a .gitignore file $ echo "node_modules" >> .gitignore $ echo "public" >> .gitignore
🌐
Medium
medium.com › bb-tutorials-and-thoughts › how-to-develop-and-build-vue-js-app-with-nodejs-backend-typescript-version-2eeb0f10e87f
How To Develop and Build Vue.js App With NodeJS Backend — Typescript Version | by Bhargav Bachina | Bachina Labs | Medium
December 29, 2021 - There are so many ways we can build Vue.js apps and ship for production. One way is to create the Vue app with NodeJS or Java, and another way is to develop and serve that static content with the NGINX web server.
Discussions

vue.js - How to route Vue Server to Node.js Backend - Stack Overflow
how can i use Vue Dev Server with my node.js Server? I'm currently doing it by creating a build from Vue with npm run build and copy the created ´dist´folder to my node backend. And with the route ... More on stackoverflow.com
🌐 stackoverflow.com
Vue with own backend code on server (Node.js+Vue.js)
So... for my job I am making a software solution that helps our employees have a centralized location to do their work on since we'll be transitioning to a Microsoft 365/Azure environment. My co-wo... More on stackoverflow.com
🌐 stackoverflow.com
vue.js - How can you connect vue with node.js? - Stack Overflow
I want to know how to control vue with node.js express. ... You get JSON data from backend via AJAX requests. More on stackoverflow.com
🌐 stackoverflow.com
How to link Vue frontend to Nodejs backend
What I don't know is how to connect my Vue.js frontend with your Node.js backend and how can I configure the base url for my server? More on stackoverflow.com
🌐 stackoverflow.com
🌐
Reintech
reintech.io › blog › getting-started-with-vuejs-and-nodejs
Working with Vue.js and Node.js | Reintech media
January 11, 2026 - This guide demonstrates how to architect a Vue.js frontend with a Node.js backend, covering project setup, API integration patterns, and practical implementation strategies.
🌐
GitHub
github.com › bbachi › vuejs-nodejs-example
GitHub - bbachi/vuejs-nodejs-example: Example Project to demonstrate how to use Vue.js with nodejs backend
Example Project to demonstrate how to use Vue.js with nodejs backend
Starred by 73 users
Forked by 64 users
Languages   Vue 50.6% | JavaScript 35.5% | HTML 5.7% | CSS 5.0% | Dockerfile 3.2% | Vue 50.6% | JavaScript 35.5% | HTML 5.7% | CSS 5.0% | Dockerfile 3.2%
🌐
Stack Overflow
stackoverflow.com › questions › 62402382 › vue-with-own-backend-code-on-server-node-jsvue-js
Vue with own backend code on server (Node.js+Vue.js)
My co-workers and I decided to use Vue.js as a way to control the view of the applications whereas Node.js is handling the backend. ... Dynamic Module loading (this also works, we're able to upload, update, remove backend functionality without having to restart the server)
🌐
Stack Overflow
stackoverflow.com › questions › 73265921 › how-can-you-connect-vue-with-node-js
vue.js - How can you connect vue with node.js? - Stack Overflow
Depending on how you want to create the application, you could do a separate frontend/backend. I recommend researching MVC architecture for the backend and creating web REST API(which sends/receives serialized json data), which your Vue frontend ...
Find elsewhere
🌐
Medium
medium.com › @emperorbrains › integrating-vue-js-with-backend-frameworks-node-js-django-and-beyond-606d6a2f53a7
Integrating Vue.js with Backend Frameworks: Node.js, Django, and Beyond | by Emperor Brains | Medium
June 17, 2024 - In this blog, we’ll explore how to integrate Vue.js with these backend frameworks, diving into setup, configuration, and best practices. Node.js is a JavaScript runtime built on Chrome’s V8 engine. It allows developers to use JavaScript for server-side scripting, creating scalable network applications.
🌐
Jscrambler
blog.jscrambler.com › build-a-task-management-app-using-vue-js-and-a-node-js-backend
Create a Task Management App with Vue.js and Node.js Backend
April 30, 2019 - There are several frontend libraries to help with the above. We will not be using any of them. We will build the above features from scratch. This is so that we are aware of how the underlying mechanics of the base web technologies work. In this article, we will build a simple Task Manager application. We will develop it using Node.js in the backend and Vue.js in the frontend.
🌐
YouTube
youtube.com › geeky shows
Connect Vue JS Frontend with NodeJS ExpressJS Backend (Hindi) - YouTube
Connect Vue JS Frontend with NodeJS ExpressJS Backend Hindi00:00 Introduction02:23 Backend ExpressJS19:11 Frontend Vue JSSource Code: https://github.com/geek...
Published   January 7, 2023
Views   2K
🌐
Stack Overflow
stackoverflow.com › questions › 77017100 › how-to-link-vue-frontend-to-nodejs-backend
How to link Vue frontend to Nodejs backend
Copyasync sendEmail() { console.log(this.email); console.log(this.subject); console.log(this.message); const response = await fetch("/send-email", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ name: this.name, email: this.email, subject: this.subject, message: this.message, }), }); const result = response; console.log(result); } ... fetch doesn't have a base URL option. You may be thinking of axios. With fetch you should use the absolute URL, e.g. http://localhost:8080/send-email or whatever domain/port your nodejs server runs on.
🌐
BezKoder
bezkoder.com › home › vue.js + node.js + express + mysql example: build a full-stack crud application
Vue.js + Node.js + Express + MySQL example: Build a full-stack CRUD Application - BezKoder
April 26, 2022 - You can continue with step by step to implement this Vue App in the post: Vue.js CRUD App with Vue Router & Axios · Or using Vuetify: Vuetify data-table example with a CRUD App · You can run our Vue App with command: npm run serve.
🌐
Jscrambler
jscrambler.com › blog › vue-js-authentication-system-with-node-js-backend
Using Node.js Backend for Vue.js Authentication System
First of all, we need to have Node.js installed on your system for this part as well. Head over to a terminal window. Create an empty folder called vueauthclient-backend. Navigate to the folder using: ... There will be several prompts. Let's accept the defaults and specify values where required.
🌐
Medium
medium.com › @hminnovance › create-a-modern-web-app-with-node-express-and-vue-js-a3e5f224d6d5
Create a Modern Web App With Node, Express, and Vue.js | by H&M Innovance LLP | Best web development company | Medium
October 25, 2024 - To serve these static files with your Express server, modify your server.js file: ... // Serve static files from the Vue app app.use(express.static(path.join(__dirname, 'client/dist')));// Redirect all requests to the index.html app.get('*', (req, res) => { res.sendFile(path.join(__dirname, 'client/dist', 'index.html')); }); Move your dist folder into your Express project directory, or keep it in the client folder and adjust the path in your Express server accordingly. Start your server again with node server.js, and your app will now serve the Vue frontend along with the Express API.
🌐
Reddit
reddit.com › r/node › i'm not understanding the difference between vue, nodejs, expressjs
I'm not understanding the difference between Vue, Nodejs, Expressjs : r/node
May 23, 2020 - Vue is a frontend js platform that ... but Vue provides a structured environment. I recommend starting with the basics. The backend options include nodejs + express....
🌐
Medium
medium.com › @iaacek › vue-js-node-js-project-structure-51c27211ed2d
Vue.js + Node.js project structure | by Tomas Mudrak | Medium
January 14, 2020 - Let’s take a look on a structure from one of my latest projects — Vue.js frontend application and RESTful Express.js API backend: ... Tip: if you plan on deploying the client and the API on separate servers create 2 Git repositories, one for client and one for the server code, rather than one for everything. Let’s take a closer look at the client directory structure: ... dist: output folder for the application when bundled by Webpack with ‘production’ setting (set to be ignored by Git) node_modules: all the node modules required by the application (set to be ignored by Git)