Building APIs with Node.js. ([2016])
- Record Type:
- Book
- Title:
- Building APIs with Node.js. ([2016])
- Main Title:
- Building APIs with Node.js
- Further Information:
- Note: Caio Ribeiro Pereira.
- Authors:
- Pereira, Caio Ribeiro
- Contents:
- At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Introduction to Node.js; What Is Node.js?; Main Features; Single-Thread Architecture; Event-Loop; Why Do I Need to Learn Node.js?; Conclusion; Chapter 2: Setting Up the Environment; Node.js Standard Installation; About io.js and Node.js Merge; Node.js Installation Via NVM; Set Up NVM; Top NVM Commands; Installing Node.js Via NVM; Conclusion; Chapter 3: Managing Modules with NPM; What Does NPM Do?; Top NPM Commands; Understanding the package.json File; NPM Task Automation. ConclusionChapter 4: Building an API; Introduction to Express; Getting Started on the Pilot Project; Pilot Project Source Code; Implementing a Simple and Static Resource; Arranging the Loading of Modules; Conclusion; Chapter 5: Working with SQL Databases; Setting Up Sequelize; Creating Models; Model: Tasks; Model: Users; Conclusion; Chapter 6: CRUDify API Resources; Organizing Task Routes; Listing Tasks Via GET; About HTTP Status; Creating Tasks Via POST; Finding a Task Via GET; Updating a Task Via PUT; Deleting a Task Via DELETE; Refactoring Some Middlewares; Creating Users' Endpoints. Testing Endpoint Access Using PostmanConclusion; Chapter 7: Authenticating Users; Introduction to Passport.js and JWT; About Passport.js; About JWT; Installing Passport and JWT; Implementing JWT Authentication; Generating Tokens for Authenticated Users; Conclusion; Chapter 8: Testing the Application: Part 1;At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Introduction to Node.js; What Is Node.js?; Main Features; Single-Thread Architecture; Event-Loop; Why Do I Need to Learn Node.js?; Conclusion; Chapter 2: Setting Up the Environment; Node.js Standard Installation; About io.js and Node.js Merge; Node.js Installation Via NVM; Set Up NVM; Top NVM Commands; Installing Node.js Via NVM; Conclusion; Chapter 3: Managing Modules with NPM; What Does NPM Do?; Top NPM Commands; Understanding the package.json File; NPM Task Automation. ConclusionChapter 4: Building an API; Introduction to Express; Getting Started on the Pilot Project; Pilot Project Source Code; Implementing a Simple and Static Resource; Arranging the Loading of Modules; Conclusion; Chapter 5: Working with SQL Databases; Setting Up Sequelize; Creating Models; Model: Tasks; Model: Users; Conclusion; Chapter 6: CRUDify API Resources; Organizing Task Routes; Listing Tasks Via GET; About HTTP Status; Creating Tasks Via POST; Finding a Task Via GET; Updating a Task Via PUT; Deleting a Task Via DELETE; Refactoring Some Middlewares; Creating Users' Endpoints. Testing Endpoint Access Using PostmanConclusion; Chapter 7: Authenticating Users; Introduction to Passport.js and JWT; About Passport.js; About JWT; Installing Passport and JWT; Implementing JWT Authentication; Generating Tokens for Authenticated Users; Conclusion; Chapter 8: Testing the Application: Part 1; Setting Up the Test Environment; Writing the First Test; Testing the Authentication Endpoint; Conclusion; Chapter 9: Testing the Application: Part 2; Testing a Task's Endpoints; Testing a User's Endpoints; Conclusion; Chapter 10: Documenting the API; Introduction to ApiDoc.js. Documenting Token GenerationDocumenting User Resource; Documenting Tasks Resource; Conclusion; Chapter 11: Preparing the Production Environment; Enabling CORS in the API; A Bit More About CORS; Generating Logs; Configuring Parallel Processing Using Cluster Module; Developing Clusters; Compacting Requests Using GZIP Middleware; Installing SSL Support to Use HTTPS; Armoring the API with Helmet; Conclusion; Chapter 12: Building the Client-Side App: Part 1; Setting Up the App Environment; Creating Sign-in and Signup Views; Writing Sign-in and Signup Components; Conclusion. Chapter 13: Building the Client-Side App: Part 2Views and Components for Task's CRUD; Views and Components for Logged Users; Creating the Main Menu; Treating All Screen Events; Conclusion; Index. … (more)
- Publisher Details:
- United States : Apress
- Publication Date:
- 2016
- Copyright Date:
- 2016
- Extent:
- 1 online resource
- Subjects:
- 005.3
Computer science
Application program interfaces (Computer software)
COMPUTERS -- Web -- Web Services & APIs
Application program interfaces (Computer software)
Computer programming
Computers -- Web -- Web Programming
Web programming
Electronic books - Languages:
- English
- ISBNs:
- 9781484224427
1484224426 - Related ISBNs:
- 9781484224410
1484224418 - Notes:
- Note: Online resource; title from PDF title page (SpringerLink, viewed January 17, 2017).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.359853
- Ingest File:
- 01_322.xml