Episode 17 • Creating Rent-a-Car App with Vue and October

Login and Registration (with JWT)

In this episode we are going to learn how to register and login users using Vue, OctoberCMS and JWT.

Now we are going to create next checkout step in our app, and on that step the user will leave us his or hers data by registering into our app. To do that we are of course going to create an interface in our Vue.js app, and on the backend we will install a User plugin from Rainlab instead of creating our User model manually.

And also instead of creating our own routes for register and login we are going install JWTAuth plugin which is going to do all the heavy lifting for us.

Lastly I'm going to show you how to login a user using this method.

Download code
  • Episode 01 • Duration 15:44

    October Setup

  • Episode 02 • Duration 13:27

    Vue Setup

  • Episode 03 • Duration 23:22

    Tailwind CSS

  • Episode 04 • Duration 21:05

    What is Vuex?

  • Episode 05 • Duration 18:33

    Homepage UI

  • Episode 06 • Duration 15:19

    Locations API

  • Episode 07 • Duration 08:28

    Connecting Locations and Vehicles

  • Episode 08 • Duration 19:07

    Filtering By Location

  • Episode 09 • Duration 07:36

    Filtering On API

  • Episode 10 • Duration 18:07

    Vehicle API

  • Episode 11 • Duration 10:25

    Availability

  • Episode 12 • Duration 13:36

    Router

  • Episode 13 • Duration 11:30

    Dates Backend

  • Episode 14 • Duration 28:04

    Dates Frontend

  • Episode 15 • Duration 15:06

    Luxon

  • Episode 16 • Duration 09:01

    Persisting dates

  • Episode 17 • Duration 20:09

    Login and Registration (with JWT)

  • Episode 18 • Duration 17:09

    Persisting State

  • Episode 19 • Duration 26:57

    Making Reservation

  • Episode 20 • Duration 08:11

    Fixing JWT

  • Episode 21 • Duration 16:35

    Login Errors

  • Episode 22 • Duration 05:00

    Logout

  • Episode 01 • Duration 15:44

    October Setup

  • Episode 02 • Duration 13:27

    Vue Setup

  • Episode 03 • Duration 23:22

    Tailwind CSS

  • Episode 04 • Duration 21:05

    What is Vuex?

  • Episode 05 • Duration 18:33

    Homepage UI

  • Episode 06 • Duration 15:19

    Locations API

  • Episode 07 • Duration 08:28

    Connecting Locations and Vehicles

  • Episode 08 • Duration 19:07

    Filtering By Location

  • Episode 09 • Duration 07:36

    Filtering On API

  • Episode 10 • Duration 18:07

    Vehicle API

  • Episode 11 • Duration 10:25

    Availability

  • Episode 12 • Duration 13:36

    Router

  • Episode 13 • Duration 11:30

    Dates Backend

  • Episode 14 • Duration 28:04

    Dates Frontend

  • Episode 15 • Duration 15:06

    Luxon

  • Episode 16 • Duration 09:01

    Persisting dates

  • Episode 17 • Duration 20:09

    Login and Registration (with JWT)

  • Episode 18 • Duration 17:09

    Persisting State

  • Episode 19 • Duration 26:57

    Making Reservation

  • Episode 20 • Duration 08:11

    Fixing JWT

  • Episode 21 • Duration 16:35

    Login Errors

  • Episode 22 • Duration 05:00

    Logout