Take Your Sitecore Project To The Next Level With Node.js
Agenda
Setup
New Solution Checklist
New Solution Checklist
Automate Project Setup With Yeoman
Yeoman – Setting Up
Yeoman – Template Variables
Yeoman – Generator Lifecycle
initializing step
prompting step
prompting step
configuring step
writing step
writing step
install step and end step
Sub-generator
New Solution Checklist – Conquered!
Development
TypeScript Helix
What is Webpack?
Webpack - Configuration
TypeScript Helix
TypeScript Helix
Webpack Dev Server - Configuration
TypeScript Helix – Best practice patterns
Mocking a server call during local testing
Replacing mocked call with a real server call
Headless CMS – Sample Component
Testing
Why Unit Test JavaScript?
Jasmine - Setup
Jasmine - Implementation
TypeScript Helix – Best practice patterns (continued)
Unit Testing UI Components – Sample Component
TypeScript Helix – Best practice patterns (continued)
Unit Testing UI Components – Sample Component
Karma - Setup
Get the code