JS + Flow implementation of Panthalassa, the Pangea backend.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
.vscode
database
docker/mkdocs
docs
src
testdata
util
.babelrc
.esdoc.json
.eslintrc.json
.flowconfig
.gitignore
CODE_OF_CONDUCT.md
LICENSE
README.md
docker-compose.yaml
mkdocs.yml
package-lock.json
package.json

README.md

Pangea Libs

A Javascript + Flow implementation of the pangea utils

Build Status Coverage Status

Documentation

See here for the documentation. If you have question's create an issue for it. Feel free to have a look at the code as well since we are are heavely using JsDoc.

Development

We are using docker for development.

  1. Get docker
  2. Run docker-compose up -d
  3. Run docker-compose exec node bash
  4. Within the docker image's shell, you may run npm install to set up the dependencies, and npm test to test the project.

Troubleshooting

Problem: Test suite fails to run with TypeError: Cannot redefine property: Worker

Fix: See https://github.com/Bit-Nation/BITNATION-Pangea-libs/issues/55 for a deep dive into this issue. This is caused from a faulty version of realm installed locally. Version 2.1.1 of realm must be used in order to avoid this. This is believed to be fixed as of 2/7/2018 in the develop branch.