Spring Boot Cassandra CRUD example with Spring Data

In this tutorial, we’re gonna build a Spring Boot example that use Spring Data Cassandra to make CRUD operations with Cassandra database and Spring Web MVC for Rest APIs. You’ll know:

  • How to configure Spring Data to work with Cassandra Database
  • How to define Cassandra Data Models and Cassandra Repository interfaces
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring Data Cassandra to interact with Cassandra Database

Exception Handling:
Spring Boot @ControllerAdvice & @ExceptionHandler example
@RestControllerAdvice example in Spring Boot
– Document Rest API: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example
– Validation: Spring Boot Validate Request Body

Read More

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:
– Typescript: Node.js Typescript Rest API with MySQL example
Node.js Rest APIs example with Express & MySQL (including Sequelize)
Node.js: Upload/Import Excel file data into MySQL Database
Node.js: Upload CSV file data into MySQL Database

Fullstack:
Vue.js + Node.js + Express + MySQL example
Vue.js + Node.js + Express + MongoDB example
Angular 8 + Node.js Express + MySQL example
Angular 10 + Node.js Express + MySQL example
Angular 11 + Node.js Express + MySQL example
Angular 12 + Node.js Express + MySQL example
Angular 13 + Node.js Express + MySQL example
Angular 14 + Node.js Express + MySQL example
Angular 15 + Node.js Express + MySQL example
Angular 16 + Node.js Express + MySQL example
React + Node.js + Express + MySQL example

Security: Node.js – JWT Authentication & Authorization example
Deployment:
Deploying/Hosting Node.js app on Heroku with MySQL database
Dockerize Node.js Express and MySQL example – Docker Compose

Node.js & MySQL Associations:
One-to-Many Relationship example
Many-to-Many Relationship example

Read More

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

In this tutorial, I will show you how to build full-stack (Vue.js + Node.js + Express + PostgreSQL) example with a CRUD Application. The back-end server uses Node.js + Express for REST APIs, front-end side is a Vue client with Vue Router and axios.

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

Run both projects (back-end & front-end) in one place:
How to serve/combine Vue App with Express

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

Read More

Angular 8 + MongoDB example with Node.js Express: Build CRUD App

In this tutorial, I will show you how to make Angular 8 connect to MongoDB with Node.js Express. We’re gonna build a full-stack (MEAN stack) CRUD Application in which, the back-end server uses Node.js + Express for REST APIs, front-end side is an Angular App with HTTPClient.

Newer versions:
Using Angular 10
Using Angular 11
Using Angular 12
Using Angular 13
Using Angular 14
Using Angular 15
Using Angular 16

Related Posts:
MEAN stack Authentication & Authorization with Angular 8 example
Angular 8 upload file/image to Node.js Server example

Run both projects in one place:
How to Integrate Angular 8 with Node.js Restful Services

Read More