A solution for HTTP access control (CORS) issues

A part of building new applications is running into errors and working to find solutions. I am currently working on an application that uses the SongKick API and the Spotify API to generate Spotify playlists based on artists performing in the user location within date range preferences. The error that I encountered involves Cross-Origin Resource Sharing or CORS. This post discusses CORS, what it is, why it's important, how I encountered CORS, and a solution to the problem. So what is CORS and why is it important? CORS (Cross-origin resource sharing) according to wikipedia: "defines a way in which a browser and server can interact to determine whether or not it is safe to allow the cross-origin request. " Further, in…

Journeyman Notes #5: Day With Your Dog - First Group Project

It has been too long!! Trying to get back on track to posting once every week or so. So to catch up let's chat about our first group project. We have started and finished our first group project. Our idea: Day With Your Dog. It is a website that gives you all of the information you need to spend an entire day with your dog outside of your house. My team members and I really like this idea and found a need for it in the marketplace, so we continue working to iterate and improve on this idea even after we move on in class. Read on for our mission, the problem it solves, and our minimum viable product and…

Journeyman Notes #4: Images not displaying - Found the fix

Blogging is still such new territory and I am still discovering best methods on things like where and how to host images, how to update themes, how to manage and update Ghost (this blogging platform) and more. This post discusses the issue I had with images not displaying on any computer due to the inability of the browser to access them and the process I went through to fix the issue. ** please note that this post was drafted a few months ago when I identified and fixed the image issue but I haven't have time to post it due to the UT Bootcamp. The Issue - No Images Displaying I first found this to be the case when I tested…

Journeyman Notes #3: Finley Code was down - 502 Bad Gateway Error

Up until this point I haven't had any issues running and maintaining my blog. Well the beautiful thing about programming and technology is that you should expect something to break at some point. I finally experienced the heartache of broken things. Last Monday, when I was trying to upgrade my Ghost platform, my blog broke. Friday of last week, I finally figured out how to fix it and as such my first post back online I had to share what happened, troubleshooting and the inevitable fix. The Problem Monday, August 22nd, while running through an update of Ghost, upon completion I received a '502 Bad Gateway Error' and my site was rendered incapacitated. Disclaimer: I did use a different update…

Problem Solving is The Name of the Game

My first official post stemming from pure bafflement. You know when everything is going swimmingly and then all of sudden it isn't and you feel like this: (I mean I guess we may all feel fine if we were Ryan Gossling, but I digress) Tonight when working on my homework assignment for Bootcamp, I realized that my code for my webpage wasn't loading changes I had made in the browser and yes I did save my code and then reload in my browser. I am sure it is a simple fix (it usually is) but for sake of the exercise I am going to blog as I am working through this (yes a live blog of sorts:). The Issue: My…