Mastodon hachyterm.io

I did some work on algorithm challenges and data structures, but am now back to coding a Javascript/Node app called feedbacky.

I learned about authentication with Google OAuth using Passport-Next. Passport-Next is an updated fork of the popular Passport.js package that has become stale.

Authentication and deployment with Google OAuth, MongoDB (Mongo Atlas) and Heroku are extremely error-prone. Either the routes are wrong, the credentials/environmental variables, or maybe the dependencies. Heroku doesn’t deploy dev dependencies.

It’s a frustrating experience but also helps with developing my debugging skills. It’s good to have version control, so that you can roll back if you can’t figure out the errors.

Further Reading