top of page
  • Writer: VC Healy
    VC Healy
  • Oct 8, 2020
  • 1 min read

Continuous integration, Quality, Delivery, Deployment.


In the production of a good product, the costs against the ROI is always lower, the earlier that defects are caught.

  • In Development, It costs 5X

  • Integration Testing, It costs 10X

  • UAT, It costs 15X

  • Post Production, It costs 30X

 
 
  • Writer: VC Healy
    VC Healy
  • Oct 8, 2020
  • 1 min read

Starting by evaluating the HTTP core module in Node.js and saw how it processes requests. It receives and sends both headers and data back to the calling client.

Learned the benefits of using a web framework like Express. Gained some knowledge on its features and important concepts.

Express handles numerous things like route management, and how to construct different types of responses to handle the upload and download of files. Additionally, Express handles the lifecycle of a request to perform tasks such as logging or acting on authentication credentials.


Became familiar with most of the topics in a series of exercises. Felt fairly confident in how to create a RESTful API by using Express and Node.js. As part of learning to construct APIs, looked at different ways of interacting with the API. Found that I could use a browser, code, or a client like cURL to send requests.

Giving a good foundation to build web applications with Express and understand that there is more to learn on the topic of creating APIs, especially in securing the API.


 
 
  • Writer: VC Healy
    VC Healy
  • Oct 8, 2020
  • 1 min read

I now know how to work with files and directories in Node.js.


In this module, I learned how to read files and directories, create files and directories, and write data to files.


A few things from this module:

  • Always use the promises namespace on the built-in modules. Then use the async and await operators to make code synchronous without blocking program execution.

  • Whenever creating a directory, make sure to wrap it in a try/catch. The default behavior in Node.js is to throw an error when trying to create a directory that already exists. Just want to check if a directory exists or not, can use the stat method. Note that this method does not exist on the promises namespace, but on the main fs object.

  • If there is a need to parse other file types, check out the packages on npmjs.org. For example, use the papaparse package for .csv files. Use the fixy package for fixed-width files.



 
 

© 2020 by Vincent Healy. Proudly created with Wix.com

bottom of page