My Account Log in

3 options

Beginning API development with Node.js : build highly scalable, developer-friendly APIs for the modern web with JavaScript and Node.js / Anthony Nandaa.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central Academic Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Nandaa, Anthony, author.
Language:
English
Subjects (All):
Node.js.
Web applications--Development.
Web applications.
Application program interfaces (Computer software).
Physical Description:
1 online resource (95 pages) : illustrations
Edition:
1st edition
Other Title:
Beginning Application program interface development with Node.js
Place of Publication:
Birmingham ; Mumbai : Packt Publishing, 2018.
System Details:
text file
Biography/History:
Nandaa Anthony: Anthony Nandaa is a senior software developer with more than 7 years of professional programming experience. He was introduced to programming 3 years before his career as a developer began, working with Pascal and Visual Basic 6. In his career so far, he has worked with multiple languages, such as Python, PHP, Go, and full-stack JavaScript. In his current role, he leads a team of engineers working with Node. js and React for frontend development. He considers himself a lifelong learner, and lately, he has been learning Haskell for fun and to gain some insight into pure functional programming.
Summary:
Learn everything you need to get up and running with cutting-edge API development using JavaScript and Node.js; ideal for data-intensive real-time applications that run across multiple platforms. Key Features Build web APIs from start to finish using JavaScript across the development stack Explore advanced concepts such as authentication with JWT, and running tests against your APIs Implement over 20 practical activities and exercises across 9 topics to reinforce your learning Book Description Using the same framework to build both server and client-side applications saves you time and money. This book teaches you how you can use JavaScript and Node.js to build highly scalable APIs that work well with lightweight cross-platform client applications. It begins with the basics of Node.js in the context of backend development, and quickly leads you through the creation of an example client that pairs up with a fully authenticated API implementation. By the end of the book, you'll have the skills and exposure required to get hands-on with your own API development project. What you will learn Understand how Node.js works, its trends, and where it is being used now Learn about application modularization and built-in Node.js modules Use the npm third-party module registry to extend your application Gain an understanding of asynchronous programming with Node.js Develop scalable and high-performing APIs using hapi.js and Knex.js Write unit tests for your APIs to ensure reliability and maintainability Who this book is for This book is ideal for developers who already understand JavaScript and are looking for a quick no-frills introduction to API development with Node.js. Though prior experience with other server-side technologies such as Python, PHP, ASP.NET, Ruby will help, it's not essential to have a background in backend development before getting started.
Contents:
Intro
Title Page
Copyright and Credits
Packt Upsell
Contributors
Table of Contents
Preface
Introduction to Node.js
The Basics of Node.js
Applications of Node.js
Activity: Running Basic Node.js Code
The Module System
Application Modularization
Module Categories
Built-In Modules
npm - Third-Party Module Registry
Scanning for node_modules
Handy npm Commands
Local Modules
Activity: Using a Third-Party Package for the Previous math.js Code
Asynchronous Programming with Node.js
Callbacks
Promises
Async/Await
Activity: Transforming a Text File Using an Async Function
Summary
Building the API - Part 1
Building a Basic HTTP Server
Setting up Hapi.js
Exercise 1: Building a Basic Hapi.js Server
Using an API Client
Returning JSON Strings
Exercise 2: Returning JSON
Using nodemon for Development Workflow
Exercise 3: Using nodemon
Setting up the Logger
Exercise 4: Setting up the Logger
Understanding Requests
A Look at HTTP Request Methods
Exercise 5: Getting a List of Resources
Exercise 6: Getting a Specific Resource
Exercise 7: Creating a New Todo with POST
Exercise 8: Updating a Resource with PUT
Exercise 9: Updating with PATCH
Exercise 10: Deleting a Resource with DELETE
Request Validation
Exercise 11: Validating a Request
Building the API - Part 2
Working with the DB Using Knex.js
Exercise 12: Setting up the Database
Exercise 13: Connecting to the Database
Exercise 14: Creating a Record
Exercise 15: Reading from the Database
Exercise 16: Updating a Record
Exercise 17: Deleting a Record
Exercise 18: Cleaning up the Code
Authenticating Your API with JWT
Exercise 19: Securing All the Routes
Exercise 20: Adding User Authentication
Authentication versus Authorization.
Exercise 21: Implementing Authorization
Testing Your API with Lab
Exercise 22: Writing Basic Tests with Lab
Other Books You May Enjoy
Index.
Notes:
Includes bibliographical references and index.
Description based on print version record.
ISBN:
9781789534177
1789534178
OCLC:
1048791665

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account