add apps/index.example.js file