Add authentication to your Vue app using Auth0

closed locks hanging from a fence
Photo by Jack T on Unsplash

What We Will Be Creating

We are going to create a very simple Vue application using the Vue CLI. We will modify the default scaffolded application so that we can use Auth0 to either register a new user or log in an existing user. Once a user is logged in, then they will have access to view the About page.


Photo by Kelly Sikkema on Unsplash

What is CRUD

CRUD is an acronym for Create, Read, Update and Delete. CRUD is the operations that you use to:

  • read the data in a database
  • update the data in a database
  • delete the data in a database

What we will be creating

We will create a simple application where you can store a user’s first and last name in a MongoDB database. Here is what it looks like:


Photo by Felix Hanspach on Unsplash

AWS Amplify is a tool for adding authentication for front-end applications. See how easy it is to add it to your Vue app.

What We’ll Be Creating

We’re going to create a very simple Vue application using the Vue CLI. We’ll modify the default scaffolded application so it provides a form to register as a new user, a login page, and a dashboard page only shown to people that are logged in.

Creating Our Project

I’ll be using the Vue CLI to scaffold out a project for us to start with. To do that, you need to have the Vue CLI installed on your system. …


Add Firebase auth to your Vue app

Lock on a door
Photo by iMattSmart on Unsplash.

What We Will Be Creating

We are going to create a very simple Vue application using the Vue CLI. We will modify the default scaffolded application so that it provides a form to register as a new user, a login page, and a dashboard page only shown to people who are logged in.



What we will be creating

This is the flowing Pinterest…


Photo by Oskar Yildiz on Unsplash


Photo by Photos by Lanty on Unsplash

What is Vuex

Vuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion.

How we are using Vuex

We are using Vuex to share state between all the applications in our Factory Core Framework application. Since the framework is a bundle of applications, we currently have nine Vuex…


Photo by Kai Oberhäuser on Unsplash

Getting Started

I will be using the Vue CLI to scaffold out a starter application quickly. I will use both echarts and vue-echarts to add charts to our starter application. So let’s get started.


Photo by SwapnIl Dwivedi on Unsplash

Size of our build initially

When we do a build we get the following 2 error…

Jennifer Bland

Software Engineer. Google Developers Expert. Keynote Speaker. Entrepreneur. Mountain Climber. Neil Diamond fan. World traveler. jenniferbland.com & codeprep.io

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