Blog Integration with Backend:
-functions to be edited:
->saveEditedBlog() //for editing an existing blog;
->saveBlog() //for posting a new blog;
->deleteBlog() //deleting a blog;
->likeToggle() //to incr or decr number of likes;
-add a function to load all the current blogs as the user navigates to the blog section.
*all the javascript files are in the assets/js folder.
*inegration js files go in the asstes/intRequests folder.
*blog js file: assets/js/blog.js
*preferably make another flie in the asstes/intRequests folder to keep it clean.