mbnunes / hathor-explorer-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hathor-explorer-service

Running locally

First, rename .env.example file to .env. You can do that by running cp .env.example .env

Then, run docker-compose up -d to enable explorer-service, Redis, and daemons locally.

Explorer service will be exposed on port 3001.

Adding a new API

If you add a new API, be careful to add request.header.origin as cacheKey, if applicable. Otherwise, you may see CORS error when accessing the same resource from different domains.

Deploying

See in the SOP.

About

License:MIT License


Languages

Language:Python 98.8%Language:Makefile 1.0%Language:JavaScript 0.2%