Giter VIP home page Giter VIP logo

Comments (17)

rishikush31 avatar rishikush31 commented on September 21, 2024

assign this to me, i will fix this.

from awaas-vishwa-fe.

omrajsharma avatar omrajsharma commented on September 21, 2024

Sure, I'm assigning this issue to you @rishikush31 . Do let me know if you need any help.

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

bhai backend is not running due to env materials ,
how do i test what i did

from awaas-vishwa-fe.

omrajsharma avatar omrajsharma commented on September 21, 2024

I think backend wouldn't be required, you just need to set the environment variable in frontend for api call to the backend at https://awaas-vishwa-be.onrender.com

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

https://awaas-vishwa-be.onrender.com/api/v1/auth/login like this?

from awaas-vishwa-fe.

omrajsharma avatar omrajsharma commented on September 21, 2024

Yes

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

Thanks for your help brother, now ill be working on it.

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

i have made it go back to whatever was last opened , example
case : Home->item1->login
after login: item1 will open

case: Home->item1->signup->login
after login : signup page will be shown

is that all right..

if you'd want to make auth page (login/signup) closed , then ill have to change the react routes and code a little.. would this be fine?

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

hey check for pull requests, i've made the correction.

from awaas-vishwa-fe.

omrajsharma avatar omrajsharma commented on September 21, 2024

Sure, I'll look into it

from awaas-vishwa-fe.

omrajsharma avatar omrajsharma commented on September 21, 2024

You can solve this issue by updating the code with

if (redirect) { window.history.back(); }

in LoginPage.jsx in line number 44

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

um that way it will be not good i think, because if you are currently at item page, you go to register from there and then after registering (or clicking to go to login page) and then if you login , you will be redirected to register page only because the previous page you were on was register,
also if user shuffles in between login and signup page more than once , he will have to go through that loop to go back to item page.

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

also can you explain what the error means which is being shown in pull request

from awaas-vishwa-fe.

rishikush31 avatar rishikush31 commented on September 21, 2024

sorry for not communicating timely , its hard on github, we can talk on ig or wherever you like about this

from awaas-vishwa-fe.

omrajsharma avatar omrajsharma commented on September 21, 2024

um that way it will be not good i think, because if you are currently at item page, you go to register from there and then after registering (or clicking to go to login page) and then if you login , you will be redirected to register page only because the previous page you were on was register, also if user shuffles in between login and signup page more than once , he will have to go through that loop to go back to item page.

It would work fine

from awaas-vishwa-fe.

omrajsharma avatar omrajsharma commented on September 21, 2024

sorry for not communicating timely , its hard on github, we can talk on ig or wherever you like about this

We connect over Instagram at instagram.com/om_raj_sharma

from awaas-vishwa-fe.

Riteshgtm12 avatar Riteshgtm12 commented on September 21, 2024

This Issue Resolved By @rishikush31 or not? if not then you can aasign me , i'll fix this issue in a better way.

from awaas-vishwa-fe.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.