My back-end journeyIntroduction When I was creating blog API, I encountered some challenges which I later found a solution to it. I am a JavaScript developer using node.js as my framework, and MongoDB as my database. Then, as required by the application's design, I imp...Jul 2, 2024 · 2 min readchinecherem.hashnode.dev
How to create Blog API with NodeJs, MongoDB, and expressIntroduction Node.js is a cross-platform, open-source server environment that can run on Windows, Linux, Unix, macOS, and more. Node.js is a back-end JavaScript runtime environment, that runs on the V8 JavaScript Engine, and executes JavaScript code ...Jan 6, 2023 · 12 min readchinecherem.hashnode.dev
Understanding closure in JavaScriptA closure is an inner function that has access to the outer (enclosing) function’s variables — scope chain The closure has three scope chains It has access to its own scope (variables defined between its curly brackets) It has access to the outer ...Dec 6, 2022 · 2 min readchinecherem.hashnode.dev
Arrays and loopArrays An array is a collection of data or items that are stored sequentially. An array contains values called ‘elements’ which are of the same data type. Each item in an array is indexed starting with zero. You may have heard of the programmer joke ...May 8, 2022 · 3 min readchinecherem.hashnode.dev
JavaScript Data TypesWhat are the five primitive data types we learned about today? Boolean undefined null Number String 2.a How are variables useful? A variable is a place to store values, it help to store data. Variables are like container ...Apr 12, 2022 · 1 min readchinecherem.hashnode.dev