CRUD Operations implemented.

Creating RESTful APIs:

GET "/posts" to get data for all posts POST "/posts" to add a new post GET "/posts/:id" to get one post (using id) PATCH "/posts/:id" to update specific post DELETE "/posts/:id" to delete specific post