Blockchain explorer for Medium platform
- Docker only!
See How to Run
cd docker-medium-explorer
docker-compose up -d
(It takes about 3 minutes to start on a 2019 MBP i9 16GB RAM)
Access the front-end at https://localhost:3030
Install
- Node v10
- Yarn
- PosgreSQL v11
- Hasura 1.0.0 beta 4 or later Execute these commands in sequence
docker-compose run timescale -d
docker-compose run graphql-engine -d
cd front-end
yarn
yarn run start
Then go to https://localhost:3000
Currently only push mock data to database
cd back-end
pnpm i
node index.js
Adjust amount of memory available to Docker. Should be at least 4GB, ideally 8GB
Check if docker can access the Internet by going into the containers and run npm install
npm install -g apollo
apollo schema:download --endpoint https://my-graphql-engine.com/v1/graphql --header 'X-Hasura-Admin-Secret: adminsecretkey'