create app.js to test at local