Skip to content

Vue.js web application for event hosts to create and manage events.

Notifications You must be signed in to change notification settings

bc-ticketing/host-client

Repository files navigation

Ticketing dApp

Blockchain Ticketing

Software Project

University of Zurich

Host Client

Requirements

Clone the Repository

git clone --recurse-submodules https://github.com/bc-ticketing/host-client.git

Necessary Environment Variables and Contract Addresses

Before you run the application locally, you will need to create a .env file in the root directory. For that, you can simply copy the file .env_sample and fill the necessary information. For the pinata keys, you need a pinata account and add the according keys to the environment variables as explained below. Pinata is used to pin the metadata of events, tickets and approvers to the IPFS network. Further, you need to set the trust certificate api that you are going to use to verify that your trust verification is set correct. (For more information see the social-trust-certificates-api repository.)

The application needs a file named .env in the root directory. The content of the file needs to be a set of key-value pairs in the format KEY=VALUE. The following values need to be set:

Pinata Keys (in .env)

VUE_APP_PINATA_API_KEY & VUE_APP_PINATA_SECRET_API_KEY

Trust Certificates API (in .env)

VUE_APP_TRUST_CERTIFICATES_API

Identity Contract Address

Public address of the deployed Identity contract

IDENTITY_ADDRESS in the file /src/util/abi/Identity.js

Event Factory Contract Address

Public address of the deployed Event Factory contract

EVENT_FACTORY_ADDRESS in the file /src/util/abi/EventFactory.js

Run Environment

First, go to the root of the project and install the dependencies.

cd host-client
npm install

After setting the needed keys and contract addresses, you can start serving the application locally.

npm run serve

About

Vue.js web application for event hosts to create and manage events.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages