Overview
Objectives
This course has been created with the following objectives:
- Explore and apprehend all the features and functionalities of the webstorm platform for Node.js
- Explore and apprehend all the features and functionalities of the pm2 production process manager
- Explore and apprehend logging with Winston.js
Audience
The typical attendee for this course include project manager, analyst, developer or any profile that needs
- To have a good understanding of an application’s structure and deployment mechanisms
- To carry out Installation / production environment / architecture tasks and configuration
- To be able to assess code quality, perform debugging, monitoring
- To implement advanced production like Logging
Delivery
This course is a mixture of presentations and hands on practice. Most of the concepts are discovered through code readings, exercises and labs.
Requirements
The attendees must have some understanding of development with Node.js and Express.js
Course Outline
WebStorm
- Getting started
- Smart Features
- Package Managers
- WebStrom & Node, Angular, Express
- Code inspection, quality tools, profiling
- Debugging
- Unit testing
PM2
- Application packaging and deployments
- Nodejs+pm2 runtime packaging and deployment
- Nodejs scripts package
- Checking and switching nodejs version
- Filesystem locations and standards
- Logging
- Init scripts
- SSL/TLS certificates
- Monitoring
- Stop, start, delete, resurrect applications
- Stop, start, resurrect PM2 process
Logging with Winston.js
- Logging with winston
- Transports
- Loggers
- Log levels
- Profiling
- Streaming logs
- Querying logs
- Filters, Rewriters