# Getting started

Once everything is set up, create a depot like this:

```javascript
const books = depot()
```

You can now create...

```javascript
books.add({ title: "The Call of Cthulhu" })
```

or update...

```javascript
const book = books.last()

// Add a new author field to the book item
books.save({ ...book, author: "H. P. Lovecraft" })
```

or delete any record...

```javascript
const book = books.last()

// Remove the last book from the collection
books.remove(book)
```
