A personal coding challenge, this is a simple blog web application. Tech stack: React, Redux, Express.js and MySQL. Demo link is at: https://peaceful-arithmetic-6cc738.netlify.app/. The code for back-end server is at here.
The ERD of the app, here, a news can have many categories, and a category can contains many news, hence this is a many-to-many relationship:
- The database querying part uses nested callbacks, which is a bad practice.
- The upload image function does not work, as I have not figured out how to integrate on time (perhaps I will use a 3rd party API to do that in the future).