Routes are as follows:-
-
http://localhost:3001/routes/author/:userId :- This route is for fetching author information. The ":id" should be replaced by the userId of the author you want the information about
-
http://localhost:3001/routes/getSimilarPosts/:category :- This route is for fetching similar posts, ordered by their creation date, in decending order. If you enter a category name instead of ":category" in the url, you will get other same category posts in decending order of their creation date
- Added about column in users
- Added categoryImg column in category_master