Node.js and Backend Development - GitHub Pages
[Pages:71]Node.js and Backend Development
Shan-Hung Wu CS, NTHU
Outline
? Node.js
? Events and asynchronous I/O ? NPM and CLI tools ? Debugging
? Backend Development using Express
? RESTful API ? Express: routers and middleware ? Testing and debugging with Postman
? Deployment
? Cloud computing and Docker ? Amazon Elastic Beanstalk
2
Outline
? Node.js
? Events and asynchronous I/O ? NPM and CLI tools ? Debugging
? Backend Development using Express
? RESTful API ? Express: routers and middleware ? Testing and debugging with Postman
? Deployment
? Cloud computing and Docker ? Amazon Elastic Beanstalk
3
Clone hello-node
$ npm install --save yargs
? Yargs
? Command line interface (CLI) tools
? Usage:
$ node src/main.js [options]
4
? Javscript runtime engine ? Why Node.js in the backend?
? Event-based and asynchronous I/O; very fast ? NPM and large ecosystem
5
Node Runtime
$ node app.js $ node // REPL
? Global objects:
? window global (scope) ? document process (.env, .argv(), .exit()
etc.) ? os, fs, module.exports
? Node.js supports ES6
? No need for Babel ? No import (use require() instead)
? See API Docs
6
Outline
? Node.js
? Events and asynchronous I/O ? NPM and CLI tools ? Debugging
? Backend Development using Express
? RESTful API ? Express: routers and middleware ? Testing and debugging with Postman
? Deployment
? Cloud computing and Docker ? Amazon Elastic Beanstalk
7
WeatherMood Posts on Node.js
Why fast as an backend engine?
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- working with json in rpg scott klement
- c s e 1 5 4 w e b p r o g r a mmi n g n o d e j s e
- for ros 2 0 client web bridge ready
- and browser applications with arcgis rest js
- and backend development github pages
- http response splitting in node safebreach
- esri koop using third party data sources in arcgis
- how to convert pdf to tiff from file node for pdf to
- learning a hands on guide to building web
- nanodegree program syllabus full stack javascript developer