Vocdoni is the first universally verifiable, censorship-resistant, anonymous, and self-sovereign governance protocol.
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
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
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 (default's/
).BUILD_PATH
Specifies the destination of built files (default'sdist
).PROCESS_IDS
A JSON.stringified array of process ids to be used by this app. Using multiple ids will render the landing page with a process index.
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-voting-page/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:
main
branch is where most of the code changes happen.d/*
prefixed branches are used for customized deployments.
This repository is licensed under the GNU Affero General Public License v3.0.
Vocdoni UI Voting Page
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/>.