Nodejs tutorial now in ES6 syntax

August 30, 2018

We're glad to update the Nodejs tutorial to ECMAScript 6 (ES6) syntax! Here a few benefits:

  • uses fewer dependencies
  • uses modern node.js/ES6 features (e.g., let/const, fat arrow functions, destructuring, async/await)
  • structures the server-side code more in line with express-generator (client-side assets in public folder, and express routes in routes folder)

And don't worry, Heroku currently supports to node.js (LTS) version 8.11.4, more than enough to support this.

Many thanks to Petr Broz, former Autodesk engineer, now part of Forge team!

Posts by author

Augusto Goncalves
Developer Advocate, Autodesk

Developer Advocate at Autodesk since 2008, working with both desktop and web/cloud apps using top technologies, like C#, JavaScript, NodeJS and any other that can solve problems and improve workflo

Petr Broz
Developer Advocate, Autodesk

Petr is a senior developer advocate at Autodesk.