자료유형 | 단행본 |
---|---|
서명/저자사항 | Beginning API Development with Node. js : Build Highly Scalable, Developer-Friendly APIs for the Modern Web with JavaScript and Node. js/ Anthony Nandaa. [electronic resource]. |
개인저자 | Nandaa, Anthony. |
발행사항 | Birmingham: Packt Publishing Ltd, 2018. |
형태사항 | 1 online resource (95 pages). |
기타형태 저록 | Print version: Nandaa, Anthony. Beginning API Development with Node. js : Build Highly Scalable, Developer-Friendly APIs for the Modern Web with JavaScript and Node. js. Birmingham : Packt Publishing Ltd, ©2018 9781789539660 |
ISBN | 1789534178 9781789534177 |
내용주기 | 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 1Building 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 DELETERequest Validation; Exercise 11: Validating a Request; Summary; 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 AuthorizationTesting Your API with Lab; Exercise 22: Writing Basic Tests with Lab; Summary; Other Books You May Enjoy; Index. |
요약 | 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 ... |
주제명 (통일서명) | Node.js. Node.js. --fast |
일반주제명 | Web applications --Development. |
언어 | 영어 |
바로가기 |