build rest api with node and express js

1. in the app js we need   2. To share the mongo db connection we can have the db info in a js file: 3. To share the model schema, we can put the content in a js file: 4. then in the rest implementation js module : DONE. To test them , remember…