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:
- Clone the repository to your local machine:
git clone https://github.com/bloock/valid-proof.git
- Navigate to the project directory:
cd valid-proof
- Install dependencies:
yarn
- Start the development server:
yarn start
- Open your web browser and visit
http://localhost:3000to 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:
- Build the project:
yarn run build
-
This will create a
buildfolder containing the compiled assets. -
Host the contents of the
buildfolder 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].