For the last few days, I have been working on a few projects with my team. Specifically, my role was to rewrite the APIs that were originally done in Python (Flask) in JavaScript (Express) [more on why I switched later]. One thing that we needed was to have our own custom middleware functions defined. Today, I’ll be sharing some of what I learned when building custom middleware to log requests in the form of a simple tutorial/guide. I am going to assume the following: You are somewhat familiar with Express.js which means you should know some JavaScript For the purposes of this “tutorial”, I willRead More →

Today I wanted to go through the steps taken to host demo projects on my server. The problem? Because I was a noob when it came to certain things with Nginx I ended up using subdomains for each project but I always knew there was a different way. And the best part, it’s easier than I thought. It helped that I read this and this.  The Setup I’m running on Digital Ocean using a server with the following configuration Server Operating System Ubuntu 16.04 LTS Web Server Nginx The Solution After doing some reading and referring to a few guides, I have put together the entireRead More →

My current job allows me to work from home. That said, I wanted to create a more suitable workspace for both my day job and also personal web projects and so on. For quite some time I have been thinking about adding LED lighting to enhance the setup. Previously, I had a lamp behind my monitor as a means of reducing eye strain but this took up valuable desk space. By going with the LED light strip, I was able to reclaim that valuable desk space. For this project, I went with an LED light kit from Amazon, specifically, this one which costed about about $20.00 andRead More →

Today is the day I finally unveil something I’ve been working on. So my new site is somewhere for me to showcase projects I’ve worked on. It’s still a work in progress so, bear with me. You check out the new site at: https://www.xrscodeworks.comRead More →

I’ll start by talking about the kind of development I primarily do. I use write backend web applications, with some frontend web and iOS development thrown in. So, breaking it down by language or platform, this is what I use: Python PyCharm – This is quite possibly my favorite IDE when working on Python projects. It’s packed with a ton of features and even gives access to the terminal. Atom – This is next on my list in terms of favorites. I tend to use it when I’m writing standalone scripts that don’t necessarily need to be part of a larger project PHP PhpStorm –Read More →

A new year represents an opportunity for setting goals and trying to stick to them. At the same time, I wanted to do something that was meaningful and this is why I have started this blog. Coding / Development Goals Get better at MongoDB Get better with Python Master Swift 3 Make a new design using Sketch each month Language Goals Get better at Korean Now that I’ve gotten the introductions out of the way, let’s do this!Read More →