Text: IN NODE.JS
Part A) 20 Points Create a database called assignment within MYSQL. Create a table called posts within this database to store the topic, data, and timestamp of user-generated posts.
Part B) 50 Points Develop a post method for the nodejs platform that accepts 2 parameters (topic and data) and saves them, along with a timestamp (date and time), in a MySQL database table called posts (this table should be in the assignment database). Please ensure that the database and table are created before developing the nodejs code. To simplify your task, you may use the npm modules mysql, express, and body-parser. No other libraries should be used. You are free to use any standard nodejs module.
Part C) 20 Points Develop a webpage called posting.html that allows users to view all posts and create new posts. Users should be able to choose whether the posts should be ordered by topic or time in ascending or descending order. No JavaScript libraries are allowed for this part.