PureCode Software interview question

Can you explain the process of creating a RESTful API using Express and Node.js? How do you handle routing, middleware, and error handling?