This project is a user-facing web app, which renders data provided by a Libplanet Explorer server instance.
First of all, open .env.development file and change the value of
GRAPHQL_ENDPOINT_URI
to refer to our demo server. The demo server URI can be
found in the first line of DEPLOYMENTS.tsv.
And then install dependencies and build the app:
npm install
npm run dev
You can now see the web app from localhost:8000.
First of all, you need to run the server. See the below repository and then follow the instruction in its README:
https://github.com/planetarium/libplanet-explorer
If you are sure that your server is ready (check localhost:5000) build the app:
npm install
npm run dev
You can now see the web app from localhost:8000.
Make a env.production configuration and then build:
{
echo NETWORK_NAME=example
echo GRAPHQL_ENDPOINT_URI=https://example.com/graphql/
} > .env.production
npm install
npm run build