app.js start work with api