JWT Authentication with micro

These past few days, I've been working on two NPM modules. They are micro-http-router and micro-http-router-jwt. The former, is a router library for micro that lets you more clearly define your microservice's routes. The latter is a middleware library for the router that allows you to protect your endpoints with JWT authentication. Today, I'll be showing you how to wire it all together to make a simple microservice that generates…

IBM's LoopBack is a massive headache

I spent a few days trying to write up an example tutorial for using LoopBack with MySQL. I scrapped it. Everything was going fine until I realized the project that the example tutorial set out to help create had wildly inaccurate query results. It worked great if you were just grabbing a single set of data from a single table, but if you needed any related data it was just…

Choosing a web framework to learn

Choosing a web framework to learn

I've seen the question asked in many places many times: "should I learn Angular, React, Vue, Ember...?" My answer to that question is that, for most people, it probably doesn't matter. I may not be a revered web developer by any means, so please take it with a grain of salt; but of course, it does matter, otherwise I wouldn't be talking about it, right? Well, you're right;…