posts
A journaling of solutions to interesting problems I've encountered in the modern web stack.
Mirroring developer environments across a team is a good practice to minimize “worked on my system” type bugs. A development environment that runs the app from within a Docker container can virtually eliminate this class of bugs
This walk-through will demonstrate a basic Node.js Docker configuration that will allow for easy, fast, and deterministic deployments. Web app hosting services e.g. Elastic Beanstalk (EB) that support deployments of Docker containers grant developers…
Redux is awesome for how it explicitly defines all possible state transformations (actions) and how those transformations mutate the store (reducers) — but it doesn’t prescribe a way for components to query the store.
Web applications typically begin their life serving their own static assets (JavaScript, CSS, etc) to the browser. An alternative to this strategy would have these assets be hosted by an asset hosting service.
Unit test coverage grants confidence that code logic is correct(and serves as great developer documentation!). Test design can benefit from the mocking of both inconsequential, long-running processes and interactions with state external to the code under test.
Older versions of NPM possibly handle the symbol linking associated with npm install a bit differently than modern versions. A consequence of this can manifest in the loss of some functionality of the package.json scripts property.
If one deploys a Node.js application to an Amazon Web Services Elastic Beanstalk instance that does not provide enough RAM for the application’s npm install, the deploy may fail without any clear indication of the problem. One can indirectly determine if
This post covers the configuring of a Node.js project to a PostgreSQL database with the popular ORM Sequelize. Also, the ease of initializing a database schema with Sequelize’s CLI, including the use of the associated migration framework is demonstrated.
The tools made available by Segment provide powerful web UIs and simple yet sophisticated integration APIs that allow for powerful user analytics via the management of various 3rd-party app analytics platforms. The challenge…