Created the file index.js in routes to handle url routing