Learn about the prerequisites for this Node.js course, such as the ES6 standard, experience with Express.js, and storage with SQLite3.
- [Instructor] Here's what you should know before you start watching this course. This is a Node.js and software engineering course. It's intended for developers who have practical experience writing Node.js applications. If you're new to Node.js, I recommend Node.js Essential Training with Alex Banks here in the online training library. This course was written using the Node.js long-term support version which is version six. The content should be forwards compatible with newer version of Node.js.
I will use the ECMAScript 6 standard, also known as ES6 throughout this course. If you're not familiar with ES6 or you'd like a refresher, check out Switching to ES6 in Node.js with Ryan Lewis here in the online training library. To focus the course on testing and code quality, you'll start with a complete Node.js application. It includes a form to request a restaurant reservation with fields like the time, size of party and email contact. The reservation booking requests will be stored for review.
Finally, there's a simple administrator view for all the submitted reservations. The application uses Express.js, a minimalist Node.js framework. If you haven't used Express before, or need a refresher, check out Building a Website with Node.js and Express.js with Ray Villalobos here in the online training library. The reservations themselves will be stored in SQLite, a self-contained, embedded database engine. To demonstrate how to test with promises, I'm going to use the SQLite package instead of the more popular package SQLite3.
No prior experience with SQLite is necessary and you won't need to install a separate service to use it.
- What is code quality?
- Testing and code quality fundamentals
- Coding conventions and standards
- Creating and enforcing coding standards
- Unit, integration, and functional testing
- Test-driven development test specificatons
- Behavior-driven development test specifications
- Finding errors with linting
- Extending an ESLint shareable config
- Validating correctness with unit testing
- Replacing and inspecting with stubs, spies, and mocks
- Code coverage and why it matters
- Coverage with continuous integration
Skill Level Intermediate
Node.js: Build Your First Microservicewith Daniel Khan2h 9m Intermediate
Building APIs Using Hapi in Node.jswith Kirsten Hunter2h 23m Intermediate
Node.js: Extend and Maintain Applicationswith Daniel Khan3h 35m Intermediate
1. Testing and Code Quality Fundamentals
2. Finding Errors with Linting
3. Validating Correctness with Unit Testing
4. Replacing and Inspecting with Stubs, Spies, and Mocks
5. Reporting on Your Entire Codebase
Where to go from here?3m 46s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.