Skip to content

Node.js backend application for Hactar (Filecoin tool for mining analysis)

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

NodeFactoryIo/hactar-backend

Repository files navigation

Hactar backend

Node.js application for Hactar API.

This repository contains API implementation for Hactar, a Filecoin mining analyzer.

Development

Requirements

Following software is required to be installed to use this repo:

Usage

Make sure to run yarn install before first build or each time you change dependencies in package.json.

On first use of this repo, run npx task build which will build docker image.You will have to run npx task build each time you change dependencies in package.json (yarn.lock).

Run npx task --help to see all available commands and their description.

Notice

  • make sure you update yarn.lock before building
  • use sequelize-cli local to generate migrations (because of timestamp)

Documentation

The documentation can be accessed on app-url:${SWAGGER_DOCS_PORT}/${SWAGGER_DOCS_URL}

e.g. http://localhost:8080/api/swagger/

  • default docs url: /api/swagger
  • default docs port: 8080

License

This project is dual-licensed under Apache 2.0 and MIT terms:

Hactar Filecoin