how to create rest api in node js with mongodb code example Example: rest api with mongodb and nodejs npm install express --save