CST 336 Week 5
WELCOME TO WEEK 5 Learning Journal This week, we worked on connecting databases to our Express apps. I learned how to connect to a MySQL database from Express and how to use SQL queries to display data on a webpage. For our project, we used FastComet to run the Express app, which was exciting because it meant our app was no longer just running locally. We created a webpage where users could look up authors based on their name, a keyword, category, or number of likes. All the information was pulled directly from a MySQL database. Incorporating SQL into the Express app was a big step. We wrote queries in the app to get the data we needed based on what the user entered, and it was really satisfying to see the results show up on the page. Express handled the routing, the database provided the data, and it all came together smoothly. This week helped me feel more comfortable working with databases and combining them with my apps. It’s exciting to see how these pieces work togeth...