https://github.com/hathornetwork/hathor-explorer-service
https://github.com/hathornetwork/hathor-explorer-service
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hathornetwork/hathor-explorer-service
- Owner: HathorNetwork
- License: mit
- Created: 2021-04-29T18:45:18.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-02-02T18:38:49.000Z (6 months ago)
- Last Synced: 2026-02-03T08:34:59.919Z (6 months ago)
- Language: Python
- Size: 3.33 MB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 71
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 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](https://github.com/HathorNetwork/ops-tools/blob/master/docs/sops/hathor-explorer-service.md#deployment).