{"id":19001453,"url":"https://github.com/bumi/truffle-exercise-starshop","last_synced_at":"2026-06-16T23:31:37.869Z","repository":{"id":66382362,"uuid":"124305568","full_name":"bumi/truffle-exercise-starshop","owner":"bumi","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-08T08:27:41.000Z","size":390,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T22:03:12.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bumi.png","metadata":{"files":{"readme":"README.mdown","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-07T23:09:31.000Z","updated_at":"2018-03-07T23:10:10.000Z","dependencies_parsed_at":"2023-07-08T05:15:20.341Z","dependency_job_id":null,"html_url":"https://github.com/bumi/truffle-exercise-starshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bumi/truffle-exercise-starshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Ftruffle-exercise-starshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Ftruffle-exercise-starshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Ftruffle-exercise-starshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Ftruffle-exercise-starshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bumi","download_url":"https://codeload.github.com/bumi/truffle-exercise-starshop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Ftruffle-exercise-starshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34428196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-08T18:11:18.007Z","updated_at":"2026-06-16T23:31:37.850Z","avatar_url":"https://github.com/bumi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## StarShopPremium dApp\n\nYou can use `python2 -m SimpleHTTPServer 8000` (`python -m http.server 8000` with python 3) to serve the app on `http://localhost:8000`  \n\n### ToDos: \n\n#### Create a truffle migration for the StarShopPremium contract\n\n* Use the truffle create command to create the migration file\n* http://truffleframework.com/docs/getting_started/migrations\n\n\n#### Write a JavaScript test for the StarShopPremium contract\n\n* Use the truffle create command to create the test file\n* Write a test that checks the owner of the contract\n* Write a test that a payment with the correct amount is accepted\n* http://truffleframework.com/docs/getting_started/javascript-tests\n* https://mochajs.org/\n* http://chaijs.com/\n\n\n#### Write a UI for the Shop\n\n* Have a look at the template in ./app: \n   - index.html: the template containing placeholders for data that needs to be loaded from Ethereum\n   - app.js: JS to interact with the smart contract through web3.js\n* Fill the missing parts in the ./app/app.js \n* web3js documentation: http://web3js.readthedocs.io/en/1.0/\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Ftruffle-exercise-starshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbumi%2Ftruffle-exercise-starshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Ftruffle-exercise-starshop/lists"}