0.0.4 • Published 8 years ago

lou-db v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
8 years ago

#Welcome to LouDB#

This is my JSON storage database Originally intended to act as a quick and dirty JSON data store. It should be used for testing purposes only. Not suitable for production.

// Clone the repo
git clone https://www.github.com/louisbuchbinder/LouDB.git

// Navigate to the repo
cd LouDB

// Install Dependencies
npm install

// Run Server
npm start

// or Run in Dev mode
npm run start-dev

// Visit the in-browser example
http://localhost:8000

Make a post request to /save to store the payload

$.ajax.post({
  url:'/save',
  type:'POST',
  data: {file: 'filename', data: JSON_payload}
});

Make a get request to /fetch to retreive the payload

$.ajax.post({
  url:'/save',
  type:'GET',
  data: {file: 'filename'},
  success: doSomethingWithJSONPayload
});
0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago