stacks-archive / blockstack-explorer

A block explorer for Blockstack
61 stars 43 forks source link

Relevant fixes for q4 sprint #177

Closed hstove closed 5 years ago

hstove commented 5 years ago

This PR contains front-end changes related to this milestone:

https://app.zenhub.com/workspaces/blockstack-engineering-582a2234b399ebbf18315399/board?milestones=Q4-%20Explorer%20Sprint%201%23&filterLogic=any&repos=180429576,56251702&showEstimates=false&showPipelineDescriptions=false


Notes for reviewers

This is a mostly straightforward next.js server. All data is fetched from the API server, and the responsibility of this app is strictly UI, with some light utilities for things like formatting numbers and dates.

Install dependencies with yarn. Run the app with yarn dev.

By default, the app points to the staging API server, to make front-end dev easier. You may wish to use this at first, if you're waiting on seeding your DB on the API. Eventually, to point your local app to the local API, you can create a .env file with only one line:

API_URL=http://localhost:4000

You'll have to restart your server to apply the change.