I recently did some research on blockchain, crypto, and Web 3.0 finally, trying to understand the buzz, and I must say it’s quite interesting, but not necessarily in a good way 😅 I’ve been wanting to share my take, so here it is: Blockchain, as I understand, is another software application backend, like a SQL… Continue reading Web 3.0?
This post covers how to run a web development project (application) that was build for Mac OS on Windows. I will be using Windows Subsystem for Linux (WSL), which is a new feature added in Windows 10 that allows you to run Linux operating systems in a terminal from your Windows desktop. Step 1: Install… Continue reading Running A Web Dev Project Built for Mac on Windows
So I got my first Original Equipment Manufacturer (OEM) prototype made. If you’ve been following my blog, you know I’ve been working on an Internet-of-Things devices for the past few years as a side project. It’s been a ton of learning, and a very worthwhile undertaking overall. I’ve learned so much: woodworking, CNC, metalworking, welding,… Continue reading My First OEM Prototype
Any web application of significant complexity is going to require user-level security. In this post, I walk through how to create authorization for users in a MERN (MongoDB, Express, React, and Node) stack web application. Full code is available here: https://github.com/dikuw/mern-passport This post assumes knowledge of React and node.js and just shows how to incorporate… Continue reading MERN Authorization with Passport.js
This is a minimal example of how to upload a file to Node.js server using React.js on the front end. The Node.js server will run Express for simplicity, and takes advantage of the Express File Upload package. The server code is as simple as a single file server.js as follows: This will load a file… Continue reading Upload a File to a Node.js Server Using React
A simple counter component in React can look like this: The component initializes the state variable “counter” with the value zero and then updates it by one every time the button is clicked. See it working here. This same code can be written much more cleanly using class properties instead of constructor properties, like so:… Continue reading Class properties versus Constructor in React