A single-page application to visualize data and activities on the Centrifuge Parachain on Polkadot.
Access staging of main
branch at https://insights.s.centrifuge.embrio.tech/.
We highly recommend to develop using the overarching centrifuge-development repository. It allows to run all required services (frontend and backend) with Docker Compose.
If you prefer to run the frontend without Docker the following instructions get you started.
-
- node: version specified in
.nvmrc
- node: version specified in
-
Environment variables file
-
Copy the template with
cp .env.sample .env
-
-
Tenant config file with
TENANT_ID
-
Copy the template with
cp public/tenant.json.sample public/tenant.json
-
-
centrifuge-subql backend.
- You can set the url of the backend in
src/config/tenant/local.ts
asgraphQLServerUrl
.
- You can set the url of the backend in
yarn install
yarn develop
The frontend can be accessed under http://localhost:8010
This repository uses commitlint to enforce commit message conventions. You have to specify the type of the commit in your commit message. Use one of the supported types.
git commit -m "[type]: foo bar"
EMBRIO.tech
[email protected]
+41 44 552 00 75
The code is licensed under the GNU Lesser General Public License v2.1