A React app with GraphQL client interfacing with Cardano GraphQL.
See environment for defaults.
CARDANO_ERACARDANO_NETWORKGRAPHQL_API_PROTOCOLGRAPHQL_API_HOSTGRAPHQL_API_PORTGRAPHQL_API_PATHPOLLING_INTERVALGA_TRACKING_IDDEBUG
This project uses an offline package cache to enable reproducible builds.
yarn --offline && yarn static:buildnix-build -A cardano-explorer-appThe static bundle can be deployed using a standard web server. A simple Node.js program is available for deploying the build to an AWS S3 bucket.
AWS_ACCESS_KEY_ID=your_access_key_id \
AWS_SECRET_ACCESS_KEY=your_secret_access_key node \
./deploy/example_deployment.jsThe environment is configured to access a remote managed deployment of the API,
however you can run a local stack using Docker and use a .env to work offline.
See .env.example
- Starts the development version of the app by default at http://localhost:4000
- Generates graphql typings from the referenced schema in
@cardano-graphql/client-tsand documents within the codebase. - Any changes to graphql documents will trigger the TypeScript generator.
All visual components should be developed in Storybook first.
The master and develop branches are continuously deployed, with PRs creating merge previews to assist with review: