Anybody who's knowledgeable using NeDB?
import React from "react";
const Datastore = require("nedb"),
database = new Datastore({ filename: "./database.db", autoload: true });
database.loadDatabase();
const App = () => {
return <div>Hello</div>;
};
export default App;
I just want to load an empty database file.. I tried multiple ways of picking the file path but it doesn't seem to appear.