Added a new delete script

For client side deletion post
Added views to the constants
Added a route to get the post to delete