# webmongo **Repository Path**: csmake/webmongo ## Basic Information - **Project Name**: webmongo - **Description**: Accessing server-side mongodb through client javascript API. - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-11 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![webmongo](https://avatars1.githubusercontent.com/u/17017373?s=460&v=4) # webmongo ## About us Accessing server-side mongodb through client javascript API. This project is a branch of [dbcloud](https://github.com/csmake/dbcloud) You can do almost invoke on mongodb through the javascript API in browser. The client javascript api support `IE6.0+ Chrome FireFox and Wechat` web: http://webmongo.dbcloud.org mail: webmongo@csmake.com ## Start the basic project 1. Run mongod first. 2. Put dbcloud.war in your servlet server webapps ,Apache Tomcat8.0 , Glass Fish Server4.x and so on. 3. Open browser(Chrome FireFox IE) and put http://localhost:8080/dbcloud/, The address may be different depending on your settings ## Start to write your web application 1. Copy MongoCollection.java and MongoCollectionServlet.java from dbcloud.war /src/java/.. , into your src/java/org/dbcloud/mongodb 2. Copy all *.js files in dbcloud.war /js to your js directory. JQuery is necessary. IE6.0 need to use the 1.x version and json2.js is necessary. 3. Edit the web.xml, like this: ```xml MongoCollectionServlet org.dbcloud.mongodb.MongoCollectionServlet dbhost 127.0.0.1 dbport 27017 db test connection test user password MongoCollectionServlet /org.dbcloud.mongodb.MongoCollection ``` 4. Edit your html file, you can see the index.html ```javascript 
```