NoSQL is a class of database management system identified by its non-adherence to the widely used relational database management system (RDBMS) model:
- It does not use SQL as its query language
- It may not give full ACID guarantees
- It has a distributed, fault-tolerant architecture
CouchDB uses port 5984. http://localhost:5984/
Futon, The UI for CouchDB http://localhost:5984/_utils/
general methods:
get all database names: http://localhost:5984/_all_dbs
HTTP Methods
CouchDB use RESTful methods for create, read, update, delete( CRUL ) databases.
- To create a resource on the server, use POST.
- To retrieve a resource, use GET.
- To change the state of a resource or to update it, use PUT.
- To remove or delete a resource, use DELETE.
For Debugging purpose, in Windows use wfetch, wfetch can generate GET/POST/PUT/DELETE requests without browser support
put method can create new database example:
host: http://localhost
port: 5984
path: /hello-world
method: POST
This POST action will generate a new database hello-world