Define node api routes
Create index view