I have a MariaDB that stores Energy-Data like voltage, frequency and so on. My aim is to visualize the data in a Web-application. Though i achieved to connect the MariaDB to node.js and log the data on a specific port thanks to the code below, i don’t have a clue how to store this data for further mathematic operations or
Tag: mariadb
How to get bcyrpt compare in a promise to work right?
I’ve had this working before, but now it’s broken for some reason. I’m using MariaDB as a database, and need to compare passwords, but it’s giving me an error Unexpected Identifier on “bcrypt” after await. When I remove the await, it works, but even if the password is wrong. What am I doing wrong here? Thanks Edit: I forgot to