This repository hosts a blog API which is used in another Angular project https://github.com/jossiey/Angular
Blog website: https://web422-angular.herokuapp.com/home
- Git clone https://github.com/jossiey/blogAPI.git
- Execute the command "npm install" to fetch the dependencies
- Start the server with the command "node server.js". With the server running, access the route: http://localhost:8080/api/posts?page=1&perPage=10
- Filter posts by category (ie: http://localhost:8080/api/posts?page=1&perPage=10&category=Adventure) or tag (ie: http://localhost:8080/api/posts?page=1&perPage=10&tag=lovedit)