Our main aim is a trustless voting system where anyone can speak their voice and where everything is auditable.
We are engineering building blocks for a permissionless, private and censorship resistant democracy.
Explore the developer portal »
Vocdoni Website | Web Application | Blockchain Explorer | MIT Law Publication | Contact Us
Vocdoni Node | Vocdoni SDK | UI Components | Application UI | Census3
This repository contains the new frontend web application that acts as an 'explorer' for the Vocdoni voting blockchain. This explorer allows you to see elections, organizations, and individual votes, as well as raw blocks on the blockchain. It is a react application available to the public at https://explorer.vote/.
You can create a .env.local
file to set your custom environment variables
there, here's a list of variables you can use:
VOCDONI_ENVIRONMENT
: the vocdoni environment to be used, eitherdev
,stg
orprod
(defaults tostg
).BASE_URL
is used to specify the public base page during build.BUILD_PATH
Specifies the destination of built files.
You can also start the app by prefixing these vars instead of defining your
custom .env
file:
VOCDONI_ENVIRONMENT=dev yarn start
# or an example using many of them...
BUILD_PATH=build/dev BASE_URL=/ui-scaffold/dev VOCDONI_ENVIRONMENT=dev yarn build
In the project directory, you can run:
Runs the app in the development mode.
Open
http://localhost:5173 to view it in the browser (note
the port may change if already used).
Builds the app for production to the dist
folder.
It correctly bundles
React in production mode and optimizes the build for the best performance.
Extracts all i18n strings from the code and puts them in the i18n/locales
json
files. The best way to work with translations is:
TBD
Two deployments are executed on each PR or push to main
:
Also, for now, the main
branch is deploying a custom deploy accessible via https://dev.explorer.vote
While we welcome contributions from the community, we do not track all of our issues on Github and we may not have the resources to onboard developers and review complex pull requests. That being said, there are multiple ways you can get involved with the project.
Please review our development guidelines.
This repository is licensed under the GNU Affero General Public License v3.0.
Vocdoni Explorer
Copyright (C) 2024 Vocdoni Association
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.