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
Vue.js + Node.js + Express + MySQL example

Security: Node.js – JWT Authentication & Authorization example

Read More

spring-boot-data-jpa-crud-example-feature-image

Spring Boot, Spring Data JPA – Building Rest CRUD API example

In this tutorial, we’re gonna build a Spring Boot Rest CRUD API example that use Spring Data JPA to interact with MySQL/PostgreSQL database. You’ll know:

  • How to configure Spring Data, JPA, Hibernate to work with Database
  • How to define Data Models and Repository interfaces
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring Data JPA to interact with PostgreSQL/MySQL Database

More Practice:
Spring Boot Rest XML example – Web service with XML Response
Spring Boot + GraphQL + MySQL example
Spring Boot + Vue.js example: Build a CRUD App

Read More

spring-boot-graphql-mysql-crud-apis-feature-image

Spring Boot + GraphQL + MySQL example with Spring JPA & graphql-spring-boot-starter

GraphQL is a query language that offers an alternative model to developing APIs (REST, SOAP or gRPC) with detailed description.

In this tutorial, we’re gonna build a Spring Boot GraphQL example that will expose CRUD APIs to create, read, update and delete objects in MySQL database with the help of graphql-spring-boot-starter and Spring Data JPA.

Related Post: Spring Boot, Spring Data JPA – Building Rest CRUD API example

Read More

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

Node.js – JWT Authentication & Authorization with JSONWebToken example

In this tutorial, we’re gonna build a Node.js Express 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

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

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

Deployment: Deploying/Hosting Node.js app on Heroku with MySQL database

Read More

deploy-nodejs-app-mysql-heroku-cleardb-feature-image

Deploying/Hosting Node.js app on Heroku with MySQL database

Heroku is one of the most popular cloud platform as a service (PaaS). We can use it to deploy and manage our application in simple & convenient way. This tutorial guides you through the steps of deploying Node.js app on Heroku with ClearDB and MySQL database. The deployment will be done using Git and Heroku CLI.

Related Posts:
Build Node.js Rest APIs with Express & MySQL
Node.js Rest APIs example with Express, Sequelize & MySQL

Read More

nodejs-rest-api-express-mysql-feature-image

Build Node.js Rest APIs with Express & MySQL

Express is one of the most popular web frameworks for Node.js that supports routing, middleware, view system… This tutorial will guide you through the steps of building Node.js Restful CRUD API using Express and interacting with MySQL database.

Before reading the tutorial, please install MySQL in your machine. The installation instructions can be found at Official MySQL installation manual.

Related Posts:
Node.js Rest APIs example with Express & MySQL (including Sequelize)
Deploying/Hosting Node.js app on Heroku with MySQL database
Node.js – JWT Authentication & Authorization example

Fullstack:
Vue.js + Node.js + Express + MySQL example: Build a full-stack CRUD Application

Read More