Adonis.js v2 released – Laravel for Node.js

Adonis is a true MVC framework for Nodejs with basics done right. It borrows the concept the of Service providers from popular PHP framework Laravel to write scalable applications and also leverage the power of ES6 to make your code expressive and maintainable.

Route.get(‘/’, ‘HomeController.index’)// Define controllerclass HomeController { * index (request, response) { response.send(‘Whufff, i am using adonis’) }}

View the original article here

Advertisements