1
1

00:00:01,510  -->  00:00:02,890 line:15% 
<v Instructor>We're going to start interacting</v>
2

2

00:00:02,890  -->  00:00:05,810 line:15% 
with a database and saving our items to it
3

3

00:00:05,810  -->  00:00:08,210
so we can then come back and retrieve them,
4

4

00:00:08,210  -->  00:00:09,920
but first of all, make sure that you are,
5

5

00:00:09,920  -->  00:00:11,610
of course, running MongoDB.
6

6

00:00:13,220  -->  00:00:14,980
In order to run MongoDB on a Mac,
7

7

00:00:14,980  -->  00:00:18,920
just type Mongo D, and that starts the Mongo DB server,
8

8

00:00:18,920  -->  00:00:23,600
and in order to open up MongoDB and interact with it,
9

9

00:00:23,600  -->  00:00:28,600
then type Mongo, and that will start up the Mongo DB shell,
10

10

00:00:29,830  -->  00:00:33,363
and here, you can show your DBs,
11

11

00:00:35,540  -->  00:00:38,900
and there you can see your different databases and so on.
12

12

00:00:38,900  -->  00:00:43,280
We're going to be using a new database for this application,
13

13

00:00:43,280  -->  00:00:45,140
and we're gonna call it pricing.
14

14

00:00:45,140  -->  00:00:47,120
You can call it whatever you want, of course,
15

15

00:00:47,120  -->  00:00:49,340
and yeah, that's what we're gonna be doing.
16

16

00:00:49,340  -->  00:00:51,400
So make sure that this is all working,
17

17

00:00:51,400  -->  00:00:53,630
that you can see your DBs,
18

18

00:00:53,630  -->  00:00:55,760
and then we can go back into our application
19

19

00:00:55,760  -->  00:00:59,670
and start working on the code to save items
20

20

00:00:59,670  -->  00:01:01,960
and load them from a database.
21

21

00:01:01,960  -->  00:01:02,910
I'll see you there.
