API Middleware is a middleware for Node.JS. It can easily expose function to api, and validate parameters