Skip to content

Locally hosted embedded persistent database using express and nedb for node.js and electron.

Notifications You must be signed in to change notification settings

harshgupta97/localhostdb

Repository files navigation

LocalhostDB

DB server for persistance and in-memory data storage using express and nedb, desktop application built using electron can leverage this to storage data locally.

Dev Commands

  1. Install
npm i
  1. Run
npm run dev
  1. Generate dist archive
npm run dist
  1. Build dist
npm run build
  1. Clean up the codebase

Note :: Command will only remove *.log files and dist folder for next clean build

npm run clean

Things to keep in mind

  • Update the dist.bat file as per your requirement.
  • Same thing with db.configuration file, Change it as per you requirement

End User

  1. Install node.js

  2. Unzip the localhostdb.zip

  3. Open the localhostdb folder and click run.bat

Verify installation

Open up a browser and goto http://localhost:3001/storage

About

Locally hosted embedded persistent database using express and nedb for node.js and electron.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published