NextAuth.js logo
NextAuth.js logo

(This is the second article in a series on next-auth. Check out the first article for background: One-Click Signup in Next.js With next-auth)

From our previous article in this series, we know that one-click signup / sign in with next-auth using Google, GitHub, Facebook, or any other provider is pretty easy. Another way many apps like to allow people to sign in easily is via use of a “magic link.” The user will enter their email address and receive an email with a link they can click to login to the app.

As you may have guessed, that’s pretty easy…

One-click signup using Google, Facebook, or any other existing provider is a desirable feature for most web applications since it makes it faster and easier for people to create accounts. Integrating one-click signup with Next.js or any other isomorphic web framework can take a fair bit of work, but the fantastic next-auth package makes it incredibly easy and flexible.

In this article, I’ll show you how to set up one-click signup in a Next.js application via Google and GitHub, and how to easily force users to be logged in to see your content.

Full code is available here on GitHub

Next.js is a fantastic framework for building fast and powerful JAMStack web applications — that’s one reason among many that it’s our go-to JavaScript framework at Echobind. We’ve wrapped Next.js with a set of tools we regularly use into a JAMStack generator called Bison, which makes Next.js even more powerful. In this article, I’ll show you the steps to building a custom blog with Bison and Next.js.

If you want to jump right to the code, here’s the repo on GitHub.

Run the Bison Generator

yarn create bison-app bison-blog

Photo of people using laptops
Photo of people using laptops
Photo by Canva Studio from Pexels

Team augmentation (aka, “software engineer rental”) is something a lot of software consultancies do as a service; if you’ve got good engineers, it’s valuable to let other companies borrow them for a fee. Sometimes those other companies have their own tech teams and don’t need to hire a whole team to get the job done — they might need one or two with specialized expertise as extra sets of hands to get a project over the finish line.

When working in new environments, our engineers need to be particularly strong in certain qualities in order to be the most effective…

people meeting in room
people meeting in room
Photo by Antenna on Unsplash

We routinely get comments from our clients like this one (actual quote):

“I was just telling someone yesterday how much I’ve enjoyed working with Mike and Isaiah, and so has our developer, [name omitted]. They are doing good work, they communicate well, and they are personable. What more can you ask for, right? I’d love to chat with you about how you kick off projects internally though — I think we could learn from Echobind on that end, given how quickly the guys hit the ground running.”

- One of our many, beloved Echobind clients

This result is no accident…

people sitting down near table with assorted laptop computers
people sitting down near table with assorted laptop computers
Photo by Marvin Meyer on Unsplash

If you don’t have your own tech team and need an app built, sometimes hiring an agency to design and build it for you is a valid option. Like with any other significant purchase, you should be informed before putting down a bunch of money to get your app built.

Far too often, companies and individuals who do not have a technical background have no way to gauge whom they’re hiring, or what to expect in an engagement. This list covers some important questions that will at least make you think about the types of things to look for in…

large assortment of lego blocks
large assortment of lego blocks
Photo by Rick Mason on Unsplash

For those unfamiliar with the term, “investment time” refers to free time employees are given on a regular basis, in which they can experiment, learn, and create without any employer-enforced agenda. Google, for example, has been known to allow their employees to use 20% of their time working on self-directed projects they’re passionate about. At Echobind we do it too. But the reason behind it may surprise you.

Conceptually, the notion of giving people a chunk of “do whatever you want” time seems like a pie-in-the-sky idea that only happens at places like Google, where chairs are made of air…

Sculpture “Balls in the sky”
Sculpture “Balls in the sky”
Photo by Raphaël Biscaldi on Unsplash

React Native’s popularity has been growing year after year, with no hints of slowing down yet. Startups and anyone who wants to build a cross-platform app quickly keep gravitating to it. Companies are hiring more dedicated React Native engineers. And I think that’s because at least part of the business value is clear: you can build a cross-platform app faster by writing it only once for two platforms.

There are other business benefits to using React Native (RN) as well, which may not be common knowledge. Below I’ll get into a number of them, in addition to some potential challenges…

GraphQL, other than being one of the hot, relatively new buzzwords in web development, is a technology that has a lot of practical business applications. But it’s a lot easier for software engineers to understand it than business stakeholders.

Technical people have been adopting it for a number of reasons; but what about the non-technical business folks? If you’re wondering why (or whether) you should adopt GraphQL in your organization (or whether you should), this article is for you.

What is GraphQL?

If you already know what GraphQL is, skip to the next section. For those that need a primer, GraphQL is a…

I’ve been taking on learning something complex lately, which can be a challenge for those with ADHD or learning disabilities (like myself, and at least some of my readers). So I’ll share some methodologies that consistently work very well for me.

For those interested programmers among you, I’ve been learning reactive programming, specifically using RxJS and redux-observable. RxJS is a technology that lets you manage asynchronous events in your web and mobile applications exceptionally well, but there’s a steep learning curve, and the tech is pretty tough to wrap your head around at first.

Relevant challenges:

• Learning something conceptually…

Mike Cavaliere

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store