CG数据库 >> A RESTful API Node Exercise for Beginners JavaScript and JQuery

A RESTful API Node Exercise for Beginners JavaScript and JQuery的图片1

A RESTful API Node Exercise for Beginners JavaScript and JQuery

MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 3 Hours | 3.44 GB

Genre: eLearning | Language: English

When building RESTful services, it is really important to choose the right framework. Node.js, with its asynchronous, event-driven architecture, is exactly the right choice for building RESTful APIs.

We’ll explore how the terminal can be used to set up a backend server using Node.js. Using the command line interface, we’ll navigate and setup folders. After a brief introduction with examples of using NodeJS, we’ll explore Node modules and how they work into your main app file. Then, we’ll learn how to set up an HTTP server using node ready for localhost. Going forward we’ll explore getting file content and reading it as data. Then, we’ll power up your node application with Express and Nodemon. We’ll use Body Parser to get post data and find out how Middleware app use works. Then, apply logic with a conditional statement to create a login check and set up our application for static frontend files index.html. Getting back to the frontend with JavaScript and HTML. We’ll bring both together for requests and responses to the server and webpage. Further, we’ll set up our routes for a RESTful API, GET, POST, PUT and DELETE. We’ll use these data to output to our page. In conclusion, we’ll refactor the codes with a helper file and Update with adding an SQLite Database to hold data.

A RESTful API Node Exercise for Beginners JavaScript and JQuery的图片2

Password/解压密码

-0daydown

A RESTful API Node Exercise for Beginners JavaScript and JQuery的图片1
A RESTful API Node Exercise for Beginners JavaScript and JQuery的图片2

发布日期: 2018-08-18