start ui with login

This commit is contained in:
2021-11-03 14:10:03 +01:00
commit e3f2e12df4
20 changed files with 28460 additions and 0 deletions

15
src/config/noscomptes.js Normal file
View File

@@ -0,0 +1,15 @@
import Vue from 'vue'
export const logWithGoogle = (oauthToken) => {
const headers = {
"Authorization": "Bearer "+oauthToken
};
return Vue.axios.post("http://localhost:8081/users", "{}",{headers})
}
export const getUserInformation = (oauthToken) => {
const headers = {
"Authorization": "Bearer "+oauthToken
};
return Vue.axios.get("http://localhost:8081/configuration", {headers})
}