Skip to content

threshold862543/peerbit-getting-started

 
 

Repository files navigation

Peerbit boilerplate project

This project contains a minimal configuration on how to use Peerbit and do testing with Jest. Clone it to get started right away!

In index.ts we are creating a Database for text documents, which we try out in the tests

Install

yarn install

(or use npm if you like)

Test

yarn test

Build

yarn build

VS Code users

.vscode folder is included in this project

If you install the Jest extension (tested with v5.0.2 version of the extension) in VS Code, you can easily debug your tests, like this:

Debug vscode

You can right click the green checkmark to get more debug options.

About

Boilerplate project for Peerbit projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%