30 Aug 2018

Nodejs tutorial now in ES6 syntax

Default blog image

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!

Related Article

Posted By

Petr Broz

Petr is a senior developer advocate at Autodesk. He has been developing some of the company’s web applications and services since 2011, and now he aims to help others build amazing, creative solutions using these tools, especially using Autodesk Forge APIs. Petr’s technical focus areas include everything around web and cloud, 3D graphics, and all kinds of "non-real reality".

Augusto Goncalves

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 workflows. See my samples on Github and follow me on Twitter for updates.