Place the coconut oil and minced garlic into a large skillet over medium-high heat and add in the cod filets. Cook each side of the filet on high heat for 2 to 3 minutes until the fish is no longer translucent. Add salt to taste. Set aside.
Cook the diced bacon in a pan over medium-high heat. When some of the fat from the bacon has greased the pan, add in the onions as well. (Use additional coconut oil if needed.) When the bacon is cooked, add in the spinach and cook until the spinach is wilted. Add salt, if desired.
Divide spinach and cod filets between plates and serve.