Please read the following. It’ll give you an intro to how you can use Express to create RESTful apis.
Build a restful API with node