{"id":20364259,"url":"https://github.com/rvanasa/vite-react-icp-rust","last_synced_at":"2025-04-12T04:35:42.815Z","repository":{"id":173428111,"uuid":"650764359","full_name":"rvanasa/vite-react-icp-rust","owner":"rvanasa","description":"Starter project for Vite + React + TypeScript + IC (Rust)","archived":false,"fork":false,"pushed_at":"2024-04-15T21:41:23.000Z","size":296,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T00:07:22.275Z","etag":null,"topics":["backend","browser","candid","dapp","dfx","frontend","full-stack","hot-reload","icp","internet-computer","javascript","live-reload","nf","nft","react","rust","smart-contract","starter","typescript","vite"],"latest_commit_sha":null,"homepage":"https://gitpod.io/#https://github.com/rvanasa/vite-react-ic-rust","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/rvanasa.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":"2023-06-07T18:57:00.000Z","updated_at":"2025-02-19T00:49:35.000Z","dependencies_parsed_at":"2024-04-15T21:56:42.147Z","dependency_job_id":null,"html_url":"https://github.com/rvanasa/vite-react-icp-rust","commit_stats":null,"previous_names":["rvanasa/vite-react-ic-rust"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvanasa%2Fvite-react-icp-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvanasa%2Fvite-react-icp-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvanasa%2Fvite-react-icp-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvanasa%2Fvite-react-icp-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvanasa","download_url":"https://codeload.github.com/rvanasa/vite-react-icp-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248518054,"owners_count":21117577,"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":["backend","browser","candid","dapp","dfx","frontend","full-stack","hot-reload","icp","internet-computer","javascript","live-reload","nf","nft","react","rust","smart-contract","starter","typescript","vite"],"created_at":"2024-11-15T00:10:46.462Z","updated_at":"2025-04-12T04:35:42.780Z","avatar_url":"https://github.com/rvanasa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite + React + ICP (Rust)\n\nThis project template gives you everything you need to build a Web3 application on the [Internet Computer](https://internetcomputer.org/).\n\nCheck out [Vite + React + Motoko](https://github.com/rvanasa/vite-react-motoko) for a beginner-friendly starter project with a [Motoko](https://internetcomputer.org/docs/current/motoko/main/motoko) backend. \n\n## Create a New Project\n\nMake sure that [Node.js](https://nodejs.org/en/) `\u003e= 16.x`, [`dfx`](https://internetcomputer.org/docs/current/developer-docs/build/install-upgrade-remove) `\u003e= 0.12.x`, and [Rust](https://www.rust-lang.org/tools/install) are installed on your system.\n\nAfter installing Rust, run these commands to configure your system for IC canister development:\n\n```sh\nrustup target add wasm32-unknown-unknown # Required for building IC canisters\ncargo install cargo-watch # Optional; used for live reloading in `npm start`\n```\n\nNext, run the following commands in a new, empty project directory:\n\n```sh\nnpx degit rvanasa/vite-react-ic-rust # Download this starter project\ndfx start --clean --background # Run dfx in the background\nnpm run setup # Install packages, deploy canisters, and generate type bindings\n\nnpm start # Start the development server\n```\n\nWhen ready, run `dfx deploy` to build and deploy your application.\n\n## Technology Stack\n\n- [Vite](https://vitejs.dev/): high-performance tooling for front-end web development\n- [React](https://reactjs.org/): a component-based UI library\n- [TypeScript](https://www.typescriptlang.org/): JavaScript extended with syntax for types\n- [Sass](https://sass-lang.com/): an extended syntax for CSS stylesheets\n- [Prettier](https://prettier.io/): code formatting for a wide range of supported languages\n- [Rust](https://www.rust-lang.org/): a fast, safe programming language for writing [Internet Computer](https://internetcomputer.org/) canisters\n\n## Documentation\n\n- [Vite developer docs](https://vitejs.dev/guide/)\n- [React quick start guide](https://beta.reactjs.org/learn)\n- [Internet Computer docs](https://internetcomputer.org/docs/current/developer-docs/ic-overview)\n- [Rust developer docs](https://rustc-dev-guide.rust-lang.org/)\n- [`dfx.json` reference schema](https://internetcomputer.org/docs/current/references/dfx-json-reference/)\n\n## Tips and Tricks\n\n- Customize your project's code style by editing the `.prettierrc` file and then running `npm run format`.\n- Reduce the latency of update calls by passing the `--emulator` flag to `dfx start`.\n- Split your frontend and backend console output by running `npm run frontend` and `npm run backend` in separate terminals.\n\n## Run in your Browser\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/rvanasa/vite-react-ic-rust)\n\nFor a considerably faster setup time, check out the [Vite + React + Motoko](https://internetcomputer.org/docs/current/motoko/main/motoko) starter project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvanasa%2Fvite-react-icp-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvanasa%2Fvite-react-icp-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvanasa%2Fvite-react-icp-rust/lists"}