how to connect sqlite and node js into react-electon

Viewed 153

i a trying to create a crossplatform desktop app using electron i have createed front-end with react and electon i know electon is build on top of nodejs i dont know where i can write the codes creating api for fetching and inserting data from database

i want to bundle react-nodejs and mongodb as a single app and give to the client so they can easily install the app in their pc and start using the app

i have read the mongodb cannot be bundle like the way i reqired and sqlite can be used if that is the only case help me install sqlite

it woud be great if i can add express js insted of nodejs

this is my current folder structure

enter image description here

0 Answers
Related