How to serve Vue App with Express

In this tutorial, I will show you step by step to integrate Vue.js project with Node.js Express Rest API so that we can serve Vue App with Express Server. You will also know how to configure Vue SPA Routing to avoid 404 on refresh.

Related Posts:
Vue.js + Node.js + Express + MySQL example
Vue.js + Node.js + Express + PostgreSQL example
Vue.js + Node.js + Express + MongoDB example
Vue.js + Node.js Express: JWT Authentication & Authorization example

Vue Firebase Realtime Database: CRUD example
Vue Firestore: Build a CRUD App example

Read More


Node.js Express + Vue.js: JWT Authentication & Authorization example

In this tutorial, we will learn how to build a full stack Node.js Express + Vue.js Authentication example. The back-end server uses Node.js Express with jsonwebtoken for JWT authentication and Sequelize for interacting with MySQL database & Authorization. The front-end will be created with Vue and Vuex. We’ll also use vee-validate to perform Form validation and vue-fontawesome for make our UI more comfortable to view.

Related Posts:
Node.js + MongoDB: User Authentication & Authorization with JWT
Node.js + PostgreSQL: User Authentication & Authorization with JWT

Fullstack CRUD App:

Read More


Node.js Express: JWT example | Token Based Authentication & Authorization

In this tutorial, we’re gonna build a Node.js Express Rest API example that supports Token Based Authentication with JWT (JSONWebToken). You’ll know:

  • Appropriate Flow for User Signup & User Login with JWT Authentication
  • Node.js Express Architecture with CORS, Authenticaton & Authorization middlewares & Sequelize
  • How to configure Express routes to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Sequelize to interact with MySQL Database

Read More