KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
json-db
★ 24
Open GitHub ↗
A lightweight database for your node.js app.
Download README (.md)
Explore Similar Repositories
node-oauth2-examples
:
A paired consumer (client) / provider (server) example of OAuth2 for NodeJS
kohonen
:
Kohonen Self Organizing Maps algorithm implementation in python, with other machine learning algorithms for comparison (kmeans, knn, svm, etc)
love-boilerplate
:
A boilerplate template for the awesome LÖVE (love2d) framework
wColorPicker
:
jQuery Color Picker Plugin
basisjs-tools
:
Developer tools for basis.js framework
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
json-db
?
Download (.md)
# json-db [](http://travis-ci.org/philipp-spiess/json-db) # Json-db is a lightweight database for your node.js-powered app. It uses an HTTP request to handle the data transfer and saves objects as `.json` files to your hard drive and comes with absolutely no dependencies. Pure Javascript. Yeah. # Implemented Yet # - Authentification - Push - All - Close # Features to be implemented soon # - Pop - Remove - Update - Peak # A bit more detail please! # Sure. Json-db is a fully RESTful json-only database. It stores items in collections, each collection can be seen as an JSON array. ## List All ## With the basic namespace, a collection can be accessed this way: GET /node-js/collection This will respond something like this [{ "foo":"bar", "_id","224810f50e57edef3bc048297e81" }] ## Push Item ## To push a new row to this collection, simply send a POST with some JSON in it. POST /node-js/collection {"foo":"bar"} Followed by this response {"push": { "foo":"bar", "_id","224810f50e57edef3bc048297e81" }} ## Authentication please ## Well, check this out: [Basic access authentication](http://en.wikipedia.org/wiki/Basic_access_authentication) ## Client ## Hooray, Json-db comes with a client build in. Please check out "How to use it?" for further information. # How to use it? # Json-db is designed to easily integrate with your node-js application. Please check out `test/common.js` for a simple use case. More info to follow.