I am learning NODEJS addons building
I was able to build a simple application but now I have a problem in connecting to the database using addons and passing query data to NODEJS
Can anyone suggest me what should I do??
I am developing my application using electron so one main issue in electron is it's asar file even though it's protected it can access by anyone and get the password and other stuff to the database so what I am trying to do is create a nodejs c++ addons and pass query and run query in c++ and get query result back to front as a string or something and process them in frontend now I was able to create addon but still couldn't find a way to connect to database c++ there is nothing in anywhere a way to connect to the database in c++ addons actually I don't know is it possible or not but it's worth trying. now I know how to connect to database in pure c++ and when i try to do it in here it can't find libraries.