-
npm installfor dependencies -
vercel devwill spin up both APIs and the REACT APP (what you should run) -
npm run startwill just run the react app -
The server side APIs perform calls to a firestore instance where indexer and chain activity metrics are aggregated over time.
- A local backup of the firestore data can be downloaded here
- To run the app with the static data, setup a local firestore instance by installing firebase firestore emulator
- After installation, run firestore with the following command:
firebase emulators:start --import=./firestore-export --only firestore - Make sure you fill in the necessary variables in your dev
.envsee.env.example, for instance:
FIREBASE_USE_EMULATOR=true FIREBASE_CONFIG={"apiKey":"","authDomain":"localhost","projectId":"midnight-explorer","storageBucket":"","messagingSenderId":"","appId":""}
noelrim/midnight-explorer
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|



