Hey what is up everyone, today we are looking at using MySQL and NodeJS to work with and store data in our NodeJS apps. This is a very simple tutorial aim toward programmers using Node and want to connect their app to a MySQL database instance. In this video we will build a very basic API to create and read posts from a MySQL database.
00:00 Intro
00:52 Technologies walkthrough
04:00 Cloning Starter files
04:40 Folder walkthrough
07:53 MySQL Workbench Create New Database
14:00 Connecting Node with MySQL Database
18:30 Testing first SQL query from Node
21:00 Building out rest of little API
27:52 Building Post Model to use MySQL connection pool
45:11 Testing out final routes of API
47:35 Outro
Subscribe: https://www.youtube.com/channel/UCQrQo7jTpOh8V9EDn9Tgnxg/featured
#mysql #nodejs