Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Crypto-Project-ENSTA/front-end/llms.txt

Use this file to discover all available pages before exploring further.

The admin dashboard at /admin is your central control panel for running an election. From here you configure the vote topic and candidates, transition the election through its three phases, and access the final tally once voting closes.

Dashboard sections

The dashboard is divided into three main areas:
  • Vote Controls — buttons to start and end the vote, available only when the current phase allows that transition
  • Vote Theme — a configuration form for the election topic, maximum voter count, and candidate choices
  • Results — the vote tally, shown only after the election has ended

Status indicators

The dashboard displays a live status badge that reflects the current election phase:
StatusMeaning
Registration OpenVoters can register. Configuration can still be changed.
Voting In ProgressVoting is active. No further configuration changes are possible.
Voting EndedThe election is closed. Results are available.
The admin dashboard automatically refreshes the voting status after any start or end action, so you always see the current state without reloading the page.
Starting and ending the vote affects all voters immediately. These actions cannot be undone — plan your election timeline before proceeding.

Next steps

Configure the election

Set the vote topic, maximum voter count, and candidate choices before opening the vote.

Manage the vote

Start voting, monitor the active session, and end the vote when participation is complete.

Build docs developers (and LLMs) love