Skip to content

JAVASCRIPT IMPLEMENTATION OF AN IN MEMORY DATABASE

Notifications You must be signed in to change notification settings

briana-roy/in-mem-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In Memory Database

in-mem-db is a javacript implementation of an in memory database. It supports Basic CRUD actions AND fully supports database transactions (BEGIN, ROLLBACK, COMMIT)

SET UP

  1. Install Node v8.70 and NPM
node install
  1. Install Dependencies via NPM
npm install

MANUALLY RUN DB APPLICATION

  1. npm start or node .

INTERFACE

  1. Start the app. (npm start or node .)
  2. type any of the required commands into the command line:
  • GET <name>
  • SET <name> <value>
  • DELETE <name>
  • COUNT <name>
  • BEGIN
  • COMMIT
  • ROLLBACK
  • END
  • OPTIONS

The OPTIONS command will list all possible actions.

RUN TEST SUITE

npm test

About

JAVASCRIPT IMPLEMENTATION OF AN IN MEMORY DATABASE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published