Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

148
Vistas
Authentication user from drawer - javascript, reactjs

I wanna get pepole to log in directly into account from drawer, but i don't have idea how to implement server side to login from drawer. Drawer is from library 'react-modern-drawer`. And of course, i wanna server side response when button log in is clicked.

One more thing, i have idea how can i do that if for example my login was on another page not like on the main page, but for now im closed - i don't know how i can get that request via express.js. So that why i didn't attach server code because that server code wasn't doing any sense.. for situation with drawer.

 <Drawer
                    open={isOpen}
                    onClose={toggleDrawer}
                    direction='top'
                    overlayOpacity={'0.7'}
                    style={{textAlign:'center', width: '320px', backgroundColor: 'black', height: '100%', objectPosition: 'absolute', top:'0',right: '0',bottom: '0',left: '84%'}}
                    className="drawer1"
                > 
                   <H3>log into system!</H3>   
                   <Label htmlFor="username">username</Label>
                   <Input type="username" placeholder='Enter your username!'/>
                   <Label htmlFor="Password">Password</Label>
                   <Input type="password" placeholder='Enter password!'/>
                   <Span>Forgot your password? Click <a href="/forgotpassword">here</a></Span>
                   <Button type="submit">Log in!</Button>
                   
                </Drawer>```

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda