1. Need to build login page using vue.js(email and password field is enough , Design is not necessarily needed.)
2. Backend: Laravel
3. Need to call Login API from the backend that response should be in this format.
False condition:
{
"status": false,
"message": "Email or password is incorrect"
}
Here in the login page, need to display a message which is present in the api reponse.
True Condition:
{
"status": true,
"token_type": "Bearer",
"access_token": "ABCDAKASJA",
"active": true,
"message": "Login successfully"
}
NOTE: API Call response can hardcoded in the backend side. Frontend functionality is needed. Not even a design. API call using AXIOS is a must.
If the login response is true then call other API using the "access_token" , the response is true, redirect to home page.
The responses from other api using token is given below:
{
"status": true,
"active": true,
"message": "success",
"user": {
"full_name": "TEST USER",
"profile_img": "[login to view URL]",
"uuid": "8238293"
}
}
if the api status is true, then redirect to home page and store all the second api reponses in LOCAL STORAGE of the system. (THIS IS MUST)
after redirecting to home page, need to display the user details in the layout using local storage only.
So totally two pages. Home page need to be redirected only if login is done orelse need to redirect to login page. Design is not necessary only functionality is needed.
Technology: Vue.js and Vuesax(ONLY FOR FRONTEND) + Laravel(ONLY FOR BACKEND)
TIME: TODAY
AMOUNT: Rs. 300 for this full task. No extra money will be given.
Hello,
Similar Work Link
==============
-- [login to view URL]
-- [login to view URL]
-- [login to view URL]
I will quickly develop you login system with form validation using vue and laravel.
Features List
==========
-- Form validation
-- checking email and password match
-- redirect user if authentication successfully
-- Ajax call
Kindly start the chat now and let's get it started ASAP.
Best.
₹600 INR за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
2 фрілансерів(-и) готові виконати цю роботу у середньому за ₹900 INR