Experimenting with calling my API vs mongodq API, Adding API.js