
Explore building rest apis with Node.js, Express, and MySQL, covering basic authentication, oauth2, and jwt through hands-on projects from Hello World Node.js api to database crud.
Learn to build a Node.js REST API using Express, install Express with npm, and install the Express generator to scaffold a REST API application.
Test a restful api application built with Express by running the project, using http get on localhost:3000, with npm start and debug mode, and testing with Postman.
Build a calculator api with Node.js and Express, exposing add, subtract, multiply, and divide endpoints, and test requests and responses in json with Postman.
Build a calculator API with node.js and express by defining post routes for add, subtract, multiply, and divide, reading valA and valB from the request body, and registering the router.
Prepare the database with mysql workbench, connect to the server, and create a product table with idproduct as auto-incrementing primary key and fields name, quantity, price, created.
Create and configure a new productapi project using Express, install MySQL, and set up npm dependencies to enable CRUD operations for a Node.js rest api.
Prepare the database by using nodedb and create a new user table with id as auto increment primary key, plus username, password (salted), fullname, and email (all not null).
Create and set up a Node.js Express project for a rest api, install MySQL, name the project basicauthdemo, and prepare to implement basic authentication.
Prepare the database by using the existing nodedb and user table from the basic authentication project, then set up a new OAuth2 project without altering data.
Implement OAuth2 on a node.js rest API by configuring passport for bearer and basic auth, validating tokens against MySQL users and clients, and exposing token endpoints and authorization flow.
Prepare the database by using an existing database and the user table with id, username, password, salt, fullname, and email, then move on to building an Express project.
Test the REST API by running the project, using postman to call /hello without a token, then login to obtain a JWT and access /profile with a Bearer token.
This bootcamp is designed for everyone who wants to learn and upgrade REST API development using Node.js. Various Node.js REST API projects are provided to increase your skills and experiences. All projects are delivered with step-by-step approaches.
You will develop the following REST API projects:
Hello world REST API
Calculator API
MySQL CRUD (Create, Read, Update, Delete) API
Applying basic authentication for Node.js REST API
Applying OAuth2 for Node.js REST API
Applying JWT token for Node.js REST API
For students without Node.js programming skill, this bootcamp delivers a brief Node.js programming so you can follow this bootcamp easily.
In this bootcamp, you will learn how to build REST API using Node.js and Express from the scratch . Starting to create a project, writing codes, and testing REST APIs.