I will show you how to create a full login system step by step including front-end and back-end. We use Vue.js as our web app and Node.js API to access MySQL database.
Projects
1. Node.js with JWT Token
Project Architecture
Get Start
First, we create the basic Node.js project using npm init
.
Then making our first API login service.
For more detail please go to my GitHub Project: Node.js with JWT Token
FAQ
MySQL: ER_NOT_SUPPORTED_AUTH_MODE
- MySQL 8 auth
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'yourpassword';
2. Vue.js Login with Axios
Project Architecture
Get Start
We use Vuex to store the state
For more detail please go to my GitHub Project: Vue.js with Axios