{"id":25133129,"url":"https://github.com/cryptodev523/dapp-proposal-management","last_synced_at":"2026-04-09T18:32:36.214Z","repository":{"id":216556319,"uuid":"718219962","full_name":"cryptodev523/dApp-proposal-management","owner":"cryptodev523","description":"dApp with create, read, and vote on proposals","archived":false,"fork":false,"pushed_at":"2023-11-15T03:57:57.000Z","size":406,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T15:38:31.521Z","etag":null,"topics":["dapp","nodejs","reactjs","smart-contracts","solidity"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptodev523.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-13T16:24:15.000Z","updated_at":"2024-01-10T19:10:49.000Z","dependencies_parsed_at":"2024-01-10T22:09:09.646Z","dependency_job_id":null,"html_url":"https://github.com/cryptodev523/dApp-proposal-management","commit_stats":null,"previous_names":["cryptodev523/dapp-proposal-management"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2FdApp-proposal-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2FdApp-proposal-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2FdApp-proposal-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2FdApp-proposal-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptodev523","download_url":"https://codeload.github.com/cryptodev523/dApp-proposal-management/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246918691,"owners_count":20854869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dapp","nodejs","reactjs","smart-contracts","solidity"],"created_at":"2025-02-08T15:34:19.937Z","updated_at":"2026-04-09T18:32:31.185Z","avatar_url":"https://github.com/cryptodev523.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dApp Proposal Management\n\nThis is a dApp for creating, reading, and voting on proposals using Ethereum smart contract.\n\n## Demo\n\n\n\nhttps://github.com/cryptodev523/dApp-proposal-management/assets/3051782/44c3ac55-6ca1-4f62-872d-53408a92f74e\n\n\n\n## Prerequisites\n\n- Node.js and npm\n- Truffle\n- Ganache\n- Metamask\n\n## Setup\n\n1. Clone the repository:\n\n```bash\ngit clone git@github.com:cryptodev523/dApp-proposal-management.git\n```\n\n2. Install the dependencies:\n\n```bash\ncd dApp-proposal-management\n\ncd backend\nnpm install\n\ncd ..\ncd frontend\nnpm install\n```\n\n3. In the `backend` directory, create a `.env` file and add the following variables:\n\n```bash\nFRONTEND_URL=\u003cyour-frontend-url\u003e\nWEB3_PROVIDER_URL=\u003cyour-web3-provider-url\u003e\nCONTRACT_ADDRESS=\u003cyour-contract-address\u003e\n```\n\nReplace \u003cyour-frontend-url\u003e, \u003cyour-web3-provider-url\u003e, and \u003cyour-contract-address\u003e with your actual frontend URL, Web3 provider URL, and contract address, respectively.\n\n4. In the `frontend` directory, create a `.env` file and add the following variable:\n\n```bash\nREACT_APP_BE_SERVER=\u003cyour-backend-url\u003e\n```\n\nReplace \u003cyour-backend-url\u003e with your actual backend URL.\n\n5. Start Ganache and create a workspace with the truffle-config.js file.\n\nReference: https://trufflesuite.com/docs/ganache/quickstart\n\n6. Compile and migrate the smart contracts:\n\n```bash\ntruffle compile\ntruffle migrate\n```\n\n7. Import the Ganache accounts into Metamask using the private keys provided by Ganache.\n\n## Running the Application\n\n1. Start the local backend server:\n\n```bash\ncd backend\nnpm start\n```\n\n2. Start the local frontend:\n\n```bash\ncd frontend\nnpm start\n```\n\n3. Open your browser and go to http://localhost:3001. \n\n4. Connect Metamask to the local Ethereum blockchain provided by Ganache.\n\n5. Interact with the application through the web interface.\n\n## Testing\n\nRun the tests with the following command:\n\n```bash\ncd contracts\ntruffle test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptodev523%2Fdapp-proposal-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptodev523%2Fdapp-proposal-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptodev523%2Fdapp-proposal-management/lists"}