Learn how to use Express.js & Node.js to build your own restful api, i will learn you how you can working with basic auth in restful api and how you can use it inside a middleware, in middleware i will help you to understand how basic auth can be used in middleware to block for unauthorized user request.