create app.js homepage configuration