Skip to content

baumstern/libplanet-explorer-frontend

 
 

Repository files navigation

Libplanet Explorer Frontend

GitHub Actions Status

This project is a user-facing web app, which renders data provided by a Libplanet Explorer server instance.

Development (without server)

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.

Development (with server)

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.

Production

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

About

Libplanet Explorer Frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.1%
  • JavaScript 6.2%
  • Shell 1.5%
  • CSS 1.1%
  • Dockerfile 1.1%