skip to Main Content

Javascript – Bcrypt Compare Password

I'm having problem in comparing the password and yes it is storing the hash of the password correctly when I'm registering. Database - MongoDB I'm using node.js version - v18.17.0 bcrypt version - 5.1.1 Here's my userSchema - const userSchema…

VIEW QUESTION

ReactJs API returns undefined

I was building a react application and I used the following code to get data from an API. import './App.css'; import {useEffect, useState} from 'react'; function App() { const [records, setRecords] = useState([]); useEffect(()=>{ getData(); }, []); const getData =…

VIEW QUESTION
Back To Top
Search