[Packtpub] A RESTful API Node Exercise for Beginners JavaScript and JQuery

0

[Packtpub] A RESTful API Node Exercise for Beginners JavaScript and JQuery

Build a JSON data checklist using JavaScript from scratch

Video Description

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.

Style and Approach

This course demonstrates how to setup a Restful API from scratch. Using just your local computer you can follow the step by step lessons to setup your own local server and run JavaScript code.

What You Will Learn

  • Learn to setup and use NodeJS localhost
  • Add a SQLite database to a local project
  • Setup a simple Restful API

Created By Laurence Svekis
Released Date August 17, 2018
Duration 2h 51m

Size: 3.40 GB

Download Now

https://www.packtpub.com/web-development/restful-api-node-exercise-beginners-javascript-jquery-v.

Leave A Reply

Your email address will not be published.