A fullstack application built with Vue on the frontend and Node/Express on the backend.
This repo demonstrates almost everything you need to know to build a complete fullstack application using Vue and Node/Express. This demo covers things like:
.env
in the root directory, and add:VUE_APP_API_CLIENT='server'
VUE_APP_API_SERVER_BASE_URL='http://localhost:5000'
I’m here assuming that the backend will run on localhost:5000
. If you set VUE_APP_API_CLIENT
to mock
, you’ll use data from the mock store, which means you won’t need the backend running.
npm install
npm run serve
To build it and run it in production mode:
npm run build
npm run start
#forum-app #vue #vue-forum #frontend