Morgan's Site
  • Home
  • Tags
  • Author
  • Holiday Metrics
Subscribe
Tagged

Coding

A collection of 3 posts

Vue.js CLI 3 API URL Environment Variables
Coding

Vue.js CLI 3 API URL Environment Variables

I recently converted a project to use vue cli version 3. This change has helped with consistency across my app, but a few things that used to work don't anymore. Specifically, the API urls I used to include in my webpack js are no longer updating during the production build.

  • Morgan Engel
Morgan Engel Nov 24, 2020 • 1 min read
Nginx Docker Reverse Proxy
Coding

Nginx Docker Reverse Proxy

I've been working on a basic setup to host a number of sites through docker on a local machine. The theory goes: Port 80 traffic hits my router and is forwarded to my computer with Docker on itAn nginx docker image handles the request and, based on the domain, routes

  • Morgan Engel
Morgan Engel Aug 19, 2020 • 2 min read
Coding

Understanding Express Middleware in Node.js

Middleware is one of those interesting concepts that once you get it is very helpful. I learned this from making an autominify middleware for express. The concept goes like this: Express is initialized. Each time you add an app.use call, it appends it to a list of things to

  • Morgan Engel
Morgan Engel Jul 7, 2013 • 1 min read
Morgan's Site © 2023
Powered by Ghost