Iβll show you how to connect your node application to a MySQL database to query and insert data. I will also show you how to integrate this into an express server to show what a complete backend might look like.
Chapters:
0:00β Intro
0:32 Setup MySQL
1:50 Setup Node App
2:46 Connect to MySQL from Node
4:40 Basic Queries
7:24 Environment Variables
10:22 Prepared Statements
13:42 Insert Statement
17:58 Express
26:00 Error Handling
27:28 Summary
πCode:
https://github.com/Sam-Meech-Ward/Node-MySQL
β Getting Started with Node.js - Full Tutorial
β JavaScript Programming Tutorial Full Course for Beginners
β Learn JavaScript - Become a Zero to Hero
β Angular and Nodejs Integration Tutorial
β How To Create A Password Protected File Sharing Site With Node.js, MongoDB, and Express