node-js-express-sequelize-mysql-example-feature-image

Node.js Rest APIs example with Express, Sequelize & MySQL

Express is one of the most popular web frameworks for Node.js that supports routing, middleware, view system… Sequelize is a promise-based Node.js ORM that supports the dialects for Postgres, MySQL, SQL Server… In this tutorial, I will show you step by step to build Node.js Restful CRUD API using Express, Sequelize with MySQL database.

You should install MySQL in your machine first. The installation instructions can be found at Official MySQL installation manual.

Related Posts:
Build Node.js Rest APIs with Express & MySQL (without Sequelize)
Deploying/Hosting Node.js app on Heroku with MySQL database

Fullstack:
Vue.js + Node.js + Express + MySQL example
Vue.js + Node.js + Express + MongoDB example
Angular 8 + Node.js Express + MySQL example
React + Node.js + Express + MySQL example

Security: Node.js – JWT Authentication & Authorization example

Read More

node-js-express-vue-jwt-auth-mysql-feature-image

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:
Vue.js + Node.js + Express + MySQL example: Build a full-stack CRUD Application
Node.js + MongoDB: User Authentication & Authorization with JWT

Read More

node-js-jwt-authentication-mysql-feature-image

Node.js Token Based Authentication & Authorization example

In this tutorial, we’re gonna build a Node.js Express Rest API example that supports Token Based Authentication with JSONWebToken (JWT). 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