Docker-Balena-Electron-Raspberry Pi Digital Signage

Building an Environment to Develop and Run an Electron App on a Raspberry Pi 3

Fair warning: This is a work in progress, and I’m still working out the details for this project. Github Repository I have started to work on getting a digital signage solution set up where I can set up a Raspberry Pi3 to display information on a screen, and that has no local interaction (no UI, running headless without any keyboard/mouse). I wanted a solution to control updates to the app, which is where BalenaCloud comes in (along with their handy OS for the Raspberry Pi). [Read More]

Debugging Node Applications

With or Without an IDE

When developing an application or project with Node.js, debugging is an important aspect to getting to the bottom of issues. If you use an IDE (integrated development environment) or code editor that has built-in or supported debugging capacities, such as Visual Studio Code, then you have that ability already. But if you are someone who’s developing with a more basic code editor - such as Sublime Text, then you can still debug your Node. [Read More]

File Paths in Node

How Path Resolution Can Be Confusing

This week I had an interesting discussion with another new developer who was getting started working on an Express-based project and was frustrated by their static files working one day, and seemingly without provocation, not working the next. I knew from experiencing the same feeling when dealing with static files both in Django and Express that a static file loading problem is difficult to resolve, and how often the problem is often a simple one that is nonetheless opaque to a new developer unfamiliar with file systems and path resolution. [Read More]

Exercise Tracker Full-Stack App

Free Code Camp (v2) APIs Challenge 4

This project involved setting up a couple MongoDB collections and then building a responsive frontend for user interaction. This app allows adding users by name, then using that user’s ID to add activities. The API allows for querying for user activities by user ID as well.

The UI uses a pug template and bootstrap for most styling, and some custom css rules to fine tune elements.

This was actually the first project that I completed out of the new Free Code Camp curriculum, and replaced the previous Google Image Search Abstraction project that I had already completed previously.

[Read More]

RTTApp

A Solution for Tracking Repair Tasks

Repair Task Tracker RTT is a full stack app that addresses the needs of a computer hardware management process, allowing the tracking and resolution of issues/problems with the hardware, as well as the configuration and components of each major hardware item. RTT is meant to be a back-of-house tool, replacing paper tickets and spreadsheets. The goal of this project was to implement a GraphQL app, with useful data, allowing a seamless user experience as they operate through the app, and data is downloaded and uploaded in the background. [Read More]