K
K
Kneepy2021-07-07 12:30:36
Web development
Kneepy, 2021-07-07 12:30:36

Passing data from nodeJS to Vue?

Suppose I have a user with the following database data:

id: 129,
    firstname: 'Алексей Корф',
    lastname: '@korfFama',
    email: '[email protected]',
    passHash: '$2y$10$9ovPW7qR.JgdlgvKWlB/uedjMgLQ4P9AeZh4eVYGETE8pwjfZefqm',
    userAvatar: '/assets/backend/uploadAvatar/1625063218Setup.ico',
    codeWord: null,
    userInfo: 'Ну я как бы второй аккаунт этой соц. сети уважайте меня xD',
    userWebSite: '',
    userLocation: '',
    subs: 0,
    whoIsSubs: null,
    token: 'f559dace2cfa7b7ffdcc3838336f3129'

And how do I pass data from node to vue?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
McBernar, 2021-07-07
@McBernar

Make api on node.
Access this api from the vue front.
Open YouTube and look for node js api. Hundreds of quality tutorials.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question