React - CRUD Example with React Hook Form
Install all required npm packages by running npm install or npm i from the command line in the project root folder (where the package.json is located). Update the database credentials in /config.json to connect to your MySQL server instance. Start the api by running npm start from the command line in the project root folder, you should see the message Server listening on port 4000. Back in the React example app, remove or comment out the 2 lines below the comment // setup fake backend located in the /src/index.jsx file, then start the React app and it should now be hooked up with the Node + MySQL API.