{"id":19501298,"url":"https://github.com/dityaren/student-grade-data-blockchain","last_synced_at":"2026-05-08T13:02:16.785Z","repository":{"id":195678793,"uuid":"693158534","full_name":"Dityaren/Student-Grade-Data-BLockchain","owner":"Dityaren","description":"Student Grade Data blockchain web application implemented using FastAPI and Python.","archived":false,"fork":false,"pushed_at":"2023-10-14T08:04:13.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T21:33:26.019Z","etag":null,"topics":["blockchain","blockchain-demos","blockchain-technology","fastapi","jinja2","jinja2-templates","python","web-application"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dityaren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-18T13:18:29.000Z","updated_at":"2023-10-16T19:31:44.000Z","dependencies_parsed_at":"2024-11-10T22:22:27.895Z","dependency_job_id":null,"html_url":"https://github.com/Dityaren/Student-Grade-Data-BLockchain","commit_stats":null,"previous_names":["dityaren/student-grade-data-blockchain"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dityaren%2FStudent-Grade-Data-BLockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dityaren%2FStudent-Grade-Data-BLockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dityaren%2FStudent-Grade-Data-BLockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dityaren%2FStudent-Grade-Data-BLockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dityaren","download_url":"https://codeload.github.com/Dityaren/Student-Grade-Data-BLockchain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dityaren%2FStudent-Grade-Data-BLockchain/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259113184,"owners_count":22807200,"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":["blockchain","blockchain-demos","blockchain-technology","fastapi","jinja2","jinja2-templates","python","web-application"],"created_at":"2024-11-10T22:12:14.675Z","updated_at":"2026-05-08T13:02:11.740Z","avatar_url":"https://github.com/Dityaren.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Student Grade Data BLockchain\r\n\r\nThis is a simple blockchain web application implemented using FastAPI and Python. The application allows you to create blocks with student data and view the blockchain.\r\n\r\n## Installation\r\n\r\nTo run the web application, follow these steps:\r\n\r\n1. Clone the repository:\r\n\r\n```bash\r\ngit clone https://github.com/Dityaren/Student-Grade-Data-BLockchain\r\n```\r\n\r\n2. Change into the project directory:\r\n\r\n```bash\r\ncd Student-Grade-Data-BLockchain\r\n```\r\n\r\n3. Install the dependencies:\r\n\r\n```bash\r\npip install fastapi\r\npip install Jinja2\r\n```\r\n\r\n4. Run the application:\r\n\r\n```bash\r\nuvicorn main:app --reload\r\n```\r\n\r\nThe application will start running on `http://localhost:8000`.\r\n\r\n## Usage\r\n\r\n### Create a Block\r\n\r\nTo create a new block with student data, make a GET request to `/buat_block/` with the following parameters:\r\n\r\n- `nama`: Student name\r\n- `kelas`: Student class\r\n- `bahasa_indonesia`: Indonesian language grade (integer)\r\n- `bahasa_inggris`: English language grade (integer)\r\n- `ipa`: Science grade (integer)\r\n- `ips`: Social science grade (integer)\r\n\r\nThe server will respond with the created block.\r\n\r\n### View the Blockchain\r\n\r\nTo view the entire blockchain, make a GET request to `/blockchain/`. The server will respond with the blockchain data.\r\n\r\n### Check Blockchain Validity\r\n\r\nTo check the validity of the blockchain, make a GET request to `/cek`. The server will respond with the validity status of the blockchain.\r\n\r\n### Web Interface\r\n\r\nThe web application provides a user interface to interact with the blockchain. Access the following routes:\r\n\r\n- `/` - Home page displaying student data and menu options.\r\n- `/{menu}` - Dynamic routes based on the menu option selected. Available options:\r\n  - `tambah` - Add student data to the blockchain.\r\n  - `lihat` - View the blockchain.\r\n  - `cek` - Check the validity of the blockchain.\r\n\r\n## Templates\r\n\r\nThe web application uses Jinja2 templates to render HTML pages. The HTML templates can be found in the `htmldirectory` directory.\r\n\r\n## Contributing\r\n\r\nIf you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.\r\n\r\n## License\r\n\r\nThis project is licensed under the [MIT License](LICENSE).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdityaren%2Fstudent-grade-data-blockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdityaren%2Fstudent-grade-data-blockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdityaren%2Fstudent-grade-data-blockchain/lists"}