-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
semu
committed
Sep 27, 2011
1 parent
53d3b07
commit 9729741
Showing
5 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
# Changelog | ||
## 0.2.2 (current beta) | ||
|
||
* new feature: sub document display | ||
* enhancement: array display | ||
* new feature: inline edit for basic properties (tested with Google Chrome) | ||
* upstream: includes [connect-basic-auth](https://github.com/semu/connect-basic-auth) with custom bugfix | ||
|
||
## 0.2.1 (2011-07-27) | ||
|
||
* bugfix: handling for native mongodb driver | ||
|
||
## 0.2.0 (2011-07-25) | ||
|
||
* new feature: `mongoclikker` displays mongodb data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
# mongoclikker | ||
|
||
[MongoDB](http://mongodb.org) viewer written in [Node](http://nodejs.org). Just clone, run `npm install express mongodb` and fire up [mongoclikker](https://github.com/semu/mongoclikker) with | ||
A clean [MongoDB](http://mongodb.org) viewer and basic editor written in [Node](http://nodejs.org). Just clone, run `npm install` and fire up [mongoclikker](https://github.com/semu/mongoclikker) with | ||
|
||
[sudo] node app.js | ||
|
||
Open [http://localhost:2002/view/DATABASE](http://localhost:2002/view/DATABASE) in your web borwser and your good to go… | ||
Open [http://HOSTNAME:2002/view/DATABASE](http://HOSTNAME:2002/view/DATABASE) in your web browser and your good to go… | ||
|
||
![mongoclikker](http://img.hazelco.de/mongoclikker-20110728-192528.jpg) | ||
|
||
## Security | ||
|
||
Per default mongoclikker is protected with a basic HTTP authentication, you should change the default password set in `app.js`: | ||
|
||
app.js:4 protectWith('mongo', 'clikker') | ||
|
||
## configure | ||
|
||
See `app.js` for setting a default database and mongodb connection. Default settings should work fine for getting connected to your local mongodb server, but they enable **public web access to your databases** while mongoclikker is running! | ||
See `app.js` for setting a default database and mongodb connection. Default settings should work fine for getting connected to your local mongodb server. [mongoclikker](https://github.com/semu/mongoclikker) is protected with a simple HTTP access control, read and write access cannot be done without propper authentication. | ||
|
||
var mongoclikker = require('./mongoclikker.js'); | ||
|
||
mongoclikker/*.setHost('localhost') | ||
.andPort(27017) | ||
.forDatabase('mongoclikker') | ||
*/.andListenOn(2002); | ||
require('./mongoclikker.js')/*.setHost('localhost') | ||
.andPort(27017) | ||
.forDatabase('mongoclikker') */ | ||
.protectWith('mongo', 'clikker') /* Password for HTTP Authorization */ | ||
.listenOn(2002); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
var mongoclikker = require('./mongoclikker.js'); | ||
|
||
mongoclikker/*.setHost('localhost') | ||
require('./mongoclikker.js')/*.setHost('localhost') | ||
.andPort(27017) | ||
.forDatabase('mongoclikker') */ | ||
.protectWith('mongo', '') /* Set password for HTTP Access Authorization! Not MongoDB password! */ | ||
.andListenOn(2002); | ||
.protectWith('mongo', 'clikker') /* Password for HTTP Authorization! */ | ||
.listenOn(2002); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters