CouchDB Basics

preview_player
Показать описание
In this video we will install CouchDB on a Windows machine, create a database using the Fauxton web GUI, create some views and make requests to the database using cURL.

Рекомендации по теме
Комментарии
Автор

Minutes

0:00 - What CouchDB is
0:40 - How it works (docs)
1:34 - Installing on Windows
2:43 - Checking that it all works, :5984/_utils and verify
3:51 - Setup cluster or single node, other admin setup stuff
5:02 - Create a new database
6:00 - Create / Add a new document
8:09 - Creating another doc using copy/paste from first doc.
9:35 - Views, map function, design doc
12:21 - API URL link (chain icon)
12:58 - Chrome tool 'RestEasy' (note : PostMan is also a valid tool for this)
13:35 - Install CURL (note : Windows users only need to do this)
14:20 - Command line with CURL examples
16:38 - Putting the loopback address (127.0.0.1) in a variable (makes writing curl lines easier)
17:25 - Testing the server variable
17:42 - Using server variable in curl to make a GET request to a view
18:20 - Insert a document but first...
18:25 - Generate a uuid
18:59 - Using curl to PUT (create) a new document using the uuid and JSON
20:02 - Escape quotes in JSON (note : Windows users)
21:03 - Replication using IBM Cloudant (copying your local DB to a remote one)
23:30 - Closing words, intro to 2nd video that uses nodejs with CouchDB

nosajghoul
Автор

12:29 In the updated version of Fauxton, I believe the link icon used for getting the API URL now looks like "{ } JSON". The URL is also includes ?include_docs=true to include the doc data in the response. To not have this display, just remove it, which is the equivalent of ?include_docs=false
13:47 If you have Git Bash installed on Windows, you already have curl installed :)

codinginthecold
Автор

Thanks a lot. Within no time, you have explained a lot :clear and straight forward.

kumarsampath
Автор

Absolutely awesome. Can't wait for the next video

luissantiago
Автор

Man! Great sound quality, I can hear everything so clearly. I love it. What microphone are you using?

rafalreloaded
Автор

Nice presentation and tutorial. There are so many of these NoSQL DBs though, it's hard to know which might be more suitable for a particular project. Mongo seems to be the most popular. Is that because it's a good catch all solution, or does it just have better marketing behind it?

For example, Brad said it was designed to handle massive amounts of data. Does this mean if your app isn't planning on using massive amounts of data, another DB might be suitable :D Is it a case of there just being too many databases that all pretty much do the same job, or are there genuine use-cases for each of them? I remember the old days when DB === SQL.

NoahNobody
Автор

I have GB amount of data and would like to backup the database in s3 bucket and if needed, i needed to restore it. I am going to take the backup of data folder. how to backup and restore the couchdb other than replication method

IsmailKhan-ydvl
Автор

when I deleted the document in the CouchDB then document id and document rev_id still exit in CouchDB. So how can I delete a document permanently or properly? please help me with that.

jagdishkumawat
Автор

Is there another way of setting up CouchDB on a server and be able to use the GUI and not CLI.

buchiemmanuel
Автор

So I got "This site can't be reached" when I typed in this after installing CouchDB. What did I do wrong?

Kwix
Автор

Keyboard sound reminded me the early IBM keyboards.

maqeelqureshi
Автор

Hi Traversy Media thanks for video tutorials, I know this is NoSql DB.
Do you have any idea that how can I manage relation?
Example:
One product has many variants then how can I fetch all the variants for that particular product?

info.vishalgohil
Автор

hi, I keep getting the error: "unauthorized to access or create database. I am able to do a curl -X GET with same user and password but it doesn't work when trying to replicate. Any step I am missing? (User and password are correct). Thanks

osluocra
Автор

im trying to link my server with couchdb which is hosted off a hoster not home hosted how would that go?

willyfoofoo
Автор

hi..i have watched your video nice one..I have read about couch db...and I confused what should I use.I am planing to work with ionic 2 with offline and online database..I read some article about couch db...I think couch db was only for server site..but know couch base mobile lite is created for client side..I think we dont need pouch db now..please make short video on this to clear concept about couch db lite mobile and server...and if possible then make small tutorial on it how to us with ionic 2...Thanks

harshal
Автор

@7:38, when i click on the Create Document button nothing happens... I've now tried in both FIreFox and Chromium (CentOS 7). Any ideas?

RPPerry
Автор

Thanks for the video. Your instructions work perfectly.

_drpositive
Автор

Great Brilliant video ! and I like how its very current as well !

AndrewOnTestingCars
Автор

i noticed that the jquery plugin is not available on 2.0
that is bad...

ramstein
Автор

In my case i got {
"id": "0002",
"key": "0002",
"value": {
"first_name": "Donald",
"last_name": "McDonald"
},
"doc": {
"_id": "0002",
"_rev": "1-67ce9dd4c35260422eab1004a9273cb8",
"first_name": "Donald",
"last_name": "McDonald",
"citizenship": "USA"
}
}
why do I get "doc" part here? Am I missed something?

gennadiygar