Skip to main content

Setup

Description​

Valid Proof is an open-source and configurable website, built in React + Vite and maintained by BLOOCK which provides a carefully curated user experience that enables you to visualize all verification steps and details from a file processed by BLOOCK.

Usage​

To use this project, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/bloock/valid-proof.git
  1. Navigate to the project directory:
cd valid-proof
  1. Install dependencies:
yarn
  1. Start the development server:
yarn start
  1. Open your web browser and visit http://localhost:3000 to view the website.

API key​

To access Bloock services, you need to set up an API key. You can do this by following this guide.

In your project directory, create a .env file. This file will store the environment variables required for the service. Each variable should be defined using the following format:

VARIABLE_NAME=VALUE

In this case, the environment variable for the API key should be named VITE_API_KEY. Here's an example of how your .env file might look:

VITE_API_KEY=[YOUR API KEY]

Deployment​

To deploy the website, follow these steps:

  1. Build the project:
yarn run build
  1. This will create a build folder containing the compiled assets.

  2. Host the contents of the build folder on your preferred web hosting service. For specific instructions for different providers check this link.

Contact​

For questions or feedback, please contact us at [support@bloock.com].