Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 820 Bytes

getting-started.md

File metadata and controls

36 lines (22 loc) · 820 Bytes

Getting started

New project

A clone-able boilerplate project can be found here.

Existing project

Install

The client

npm install peerbit

A store for documents

npm install @peerbit/document

Imports

import

Defining a database

data

Inserting the first document

insert

Searching for the document from another peer

another-client

Read more about the Document store here.