Skip to content

4H4MDF4RZEEN/VoteX

Repository files navigation

  • build/ — compiled smart contract artifacts produced by Truffle (JSON ABIs and metadata).

  • build/contracts/Migrations.json — compiled artifact for the Migrations contract.

  • build/contracts/Voting.json — compiled artifact for the Voting smart contract.

  • contracts/ — Solidity source files for the Ethereum smart contracts.

  • contracts/2_deploy_contracts.js — Truffle deployment script that deploys contracts to the network.

  • contracts/Migrations.sol — Solidity contract used by Truffle to manage migrations.

  • contracts/Voting.sol — Solidity contract implementing the voting logic and state.

  • Database_API/ — Python FastAPI backend providing database endpoints (voter auth, roles).

  • Database_API/main.py — FastAPI app entry point with routes for voter authentication and DB access.

  • migrations/ — Truffle migration scripts used to run deployments in order.

  • migrations/1_initial_migration.js — initial Truffle migration script (registers Migrations).

  • node_modules/ — installed Node.js dependencies for the frontend/server (package-managed).

  • public/ — static public assets served by the Node server (favicon, etc.).

  • public/favicon.ico — site favicon asset.

  • src/ — frontend source (HTML, CSS, JS, images) for the web UI.

  • src/assets/ — images used by the frontend (e.g., eth5.jpg).

  • src/assets/eth5.jpg — frontend image/illustration asset.

  • src/css/ — stylesheet files for different pages (admin, index, login).

  • src/css/admin.css — CSS styling for the admin panel.

  • src/css/index.css — CSS styling for the main voter interface.

  • src/css/login.css — CSS styling for the login page.

  • src/dist/ — bundled/compiled frontend JavaScript produced by Browserify.

  • src/dist/app.bundle.js — bundled JavaScript for the main application.

  • src/dist/login.bundle.js — bundled JavaScript for the login page.

  • src/html/ — HTML templates/pages for the frontend.

  • src/html/admin.html — admin panel HTML template.

  • src/html/index.html — main voter-facing HTML page.

  • src/html/login.html — login page HTML template.

  • src/js/ — frontend JavaScript source files containing UI logic.

  • src/js/app.js — main frontend JS handling voting UI and blockchain interactions.

  • src/js/login.js — frontend JS handling login/auth flows.

  • index.js — Node.js server entry point that serves the frontend and interacts with Truffle build.

  • package.json — Node project configuration listing scripts and dependencies.

  • package-lock.json — exact dependency tree lockfile for Node packages.

  • README.md — project documentation with setup, requirements, and usage instructions.

  • truffle-config.js — Truffle configuration file defining networks, compilers, and settings.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors