Having tried Static Site Generators(SSGs) such as Gatsby, React-Static, Hugo, I have to say that I am frustrated(read: lazy) at having to either buy into their templating system(Hugo), content retrieval workflow(Gatsby) or just simply starting from the ground up while building my own personal website.
We are all familiar with using console.log to log out information for debugging purposes. However, as the application grows, console.log gets littered everywhere. Also, formatting messaging is done manually.[Read more…] about Bunyan: A logging tool for node.js
Introduction to MongoDB
MongoDB is a NoSQL database that allows us to store data in other formats such as object, document, graph other than tabular relations using relational databases. As it is designed for horizontal scaling, NoSQL is increasingly used in applications that handle huge volume of data, for use cases such as analytics.
Personally, I am using MongoDB out of interest, to learn a new technology and apply it to in my own side project. Like others, I followed tutorials and courses which used mongoose, a Object Document Mapper for MongoDB, to abstract nitty-gritty details away to provide a streamlined learning experience to new developers.[Read more…] about Managing connections in MongoDB
While working on my internship project that uses Angular2, I had to display some data in a nice chart which provides some interactivity. After browsing around for awhile, I settled for the jQuery Sparklines pie chart.
<canvas> to draw charts(Should I use canvas or svg?), is simple and provides useful tooltip information when you hover over it.
For more info, check out the Sparklines documentation