Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 964 Bytes

README.markdown

File metadata and controls

25 lines (16 loc) · 964 Bytes

How to avoid callback hell

This is the presentation slides built with https://github.com/FormidableLabs/spectacle The presentation slides are related to the topic 'How to avoid Callback Hell in NodeJS'. Download link: https://github.com/raymondsze/how-to-avoid-callback-hell/blob/master/how_to_avoid_callback_hell.pdf

Highlight

  1. Dig into the codes explanation
  2. Explaining what is callback hell
  3. Async.js vs Promise vs Coroutine vs Async/Await

Development

After downloading the boilerplate, your first order of business is to open terminal and run npm install

Next, run rm -R .git to remove the existing version control.

Then, to start up the local server, run npm start

Open a browser and hit http://localhost:3000, and we are ready to roll

Build & Deployment

Building the dist version of the project is as easy as running npm run build

If you want to deploy the slideshow to surge, run npm run deploy