Q:

Authentication flow in Vue.js + REST api

I'm building a project with vue cli and adonis.js.
The frontend will be only with Vue.js and backend will only provide REST api.
I'm going to use jwt for authentication. The problem is, I don't understand authentication flow with jwt. I recently migrated from Laravel to adonis, so I have little knowledge in Vue + Ajax + REST api.  Here are my questions:

Do you have to send token in every Ajax request?
How do you get current user associated with given jwt token?
What is refreshToken?

Providing a link of detailed guide will be enough.

A:

To complete @ljcordero's answer
Adonis side:
You can get user with auth object. Like: 
async example ({ auth, request }) {
    const user = await auth.getUser()
    ...
}

Complete documentation of auth.
VueJS side:
The token created by Adonis contains a UID field. It represents the id of the user.
Here's an example token:

