{"id":21319123,"url":"https://github.com/qleet/web3-sample-app","last_synced_at":"2025-03-15T22:15:45.436Z","repository":{"id":69436182,"uuid":"550288107","full_name":"qleet/web3-sample-app","owner":"qleet","description":"Web3 sample app","archived":false,"fork":false,"pushed_at":"2023-06-08T11:02:41.000Z","size":326,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-22T11:14:02.441Z","etag":null,"topics":["dapp","dockerimage","ethereum","etherjs","frontend","github-actions","kubernetes","nodejs","react","reactjs","vite","web3"],"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/qleet.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-12T14:02:38.000Z","updated_at":"2023-02-03T15:04:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d28b42b7-4892-41ae-982b-468fc1d3d78c","html_url":"https://github.com/qleet/web3-sample-app","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qleet%2Fweb3-sample-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qleet%2Fweb3-sample-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qleet%2Fweb3-sample-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qleet%2Fweb3-sample-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qleet","download_url":"https://codeload.github.com/qleet/web3-sample-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796741,"owners_count":20349264,"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","dockerimage","ethereum","etherjs","frontend","github-actions","kubernetes","nodejs","react","reactjs","vite","web3"],"created_at":"2024-11-21T19:34:44.563Z","updated_at":"2025-03-15T22:15:45.392Z","avatar_url":"https://github.com/qleet.png","language":"TypeScript","readme":"# Web3 sample app\n\n## Requirements\n\n- [curl](https://help.ubidots.com/en/articles/2165289-learn-how-to-install-run-curl-on-windows-macosx-linux)\n- [nvm](https://github.com/nvm-sh/nvm#install--update-script)\n  ```bash\n  nvm install v18.10.0\n  nvm use v18.10.0\n  nvm alias default v18.10.0\n  npm install npm --global\n  ```\n- [pnpm](https://pnpm.io/installation)\n  ```bash\n  npm install -g pnpm\n  ```\n- [kind \u003e=0.16.0](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)\n- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)\n\n## Features \u0026 Plugins\n\n- React, TypeScript, [Vite](https://github.com/vitejs/vite)\n- [ethers.js](https://github.com/ethers-io/ethers.js)\n- i18n, store - works out-of-box\n- [TailwindCSS](https://github.com/tailwindlabs/tailwindcss) - CSS framework for rapid UI development\n\n## Help\n\n```bash\n$ make help\n```\n\n```text\nUsage: make COMMAND\nCommands :\nhelp          - List available tasks\nclean         - Cleanup\ninstall       - Install NodeJS dependencies\nbuild         - Build\nupgrade       - Upgrade dependencies\nrun           - Run\nimage-build   - Build a Docker image\nimage-run     - Run a Docker image\nimage-stop    - Stop a Docker image\ncheck-version - Ensure VERSION variable is set\nrelease       - Create and push a new tag\nkind-deploy   - Deploy to a local KinD cluster\nkind-undeploy - Undeploy from a local KinD cluster\nkind-redeploy - Redeploy to a local KinD cluster\n```\n\n## Usage\n\n```bash\nmake run\n```\n\n## Kubernetes deployment\n\n### Deploy using docker image from public repository\n\n#### Deploy workload\n\n```bash\nkubectl apply -f ./k8s --namespace=web3 --validate=false\n```\n\n#### Get workload's IP\n\n```bash\nservice_ip=$(kubectl get services web3-sample-app -n web3 -o jsonpath=\"{.status.loadBalancer.ingress[0].ip}\")\nxdg-open \"http://${service_ip}:8080\" \u003e /dev/null 2\u003e\u00261\n```\n\n#### Delete workload\n\n```bash\nkubectl delete -f ./k8s --namespace=web3\n```\n\n### Deploy to local Kind cluster\n\n```bash\nmake kind-deploy\n```\n\n### Undeploy from local Kind cluster\n\n```bash\nmake kind-undeploy\n```\n\n## Release\n\n- Update field [Version](./src/components/Layout.tsx#L25)\n\n  ```text\n  const Version = \"vX.Y.Z\"\n  ```\n\n- Run `release` target\n  ```bash\n  make release\n  ```\n\nValid eth address to test:\n\n```\n0xeB2629a2734e272Bcc07BDA959863f316F4bD4Cf\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqleet%2Fweb3-sample-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqleet%2Fweb3-sample-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqleet%2Fweb3-sample-app/lists"}