{"id":23569217,"url":"https://github.com/hanzceo/ocart","last_synced_at":"2026-02-14T20:03:32.286Z","repository":{"id":269063914,"uuid":"905461318","full_name":"HanzCEO/ocart","owner":"HanzCEO","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-23T13:57:41.000Z","size":336,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-14T04:51:50.410Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HanzCEO.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":"2024-12-18T21:55:11.000Z","updated_at":"2024-12-23T13:57:46.000Z","dependencies_parsed_at":"2024-12-20T17:24:35.290Z","dependency_job_id":"d5efd7c8-d2f9-4921-a3dd-6d1092c1904e","html_url":"https://github.com/HanzCEO/ocart","commit_stats":null,"previous_names":["hanzceo/ocart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HanzCEO/ocart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanzCEO%2Focart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanzCEO%2Focart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanzCEO%2Focart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanzCEO%2Focart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HanzCEO","download_url":"https://codeload.github.com/HanzCEO/ocart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanzCEO%2Focart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29454726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-12-26T19:13:16.813Z","updated_at":"2026-02-14T20:03:32.271Z","avatar_url":"https://github.com/HanzCEO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ICP + React + TypeScript + Vite\n\nThis template provides a batteries included setup for an ICP/React application with the latest versions of Vite, TypeScript, Tailwind CSS, SWC, Eslint and React Query.\n\n\u003e [!TIP]\n\u003e Fork this repository as a starting point for your next ICP project.\n\u003e\n\u003e Live demo: \u003chttps://upacy-bqaaa-aaaal-qr7qa-cai.icp0.io\u003e\n\n\u003e [!TIP]\n\u003e This template is also available in a version using [ic-reactor](https://www.npmjs.com/package/@ic-reactor/react) instead of React Query. Check out that version from the [ic-reactor branch](https://github.com/kristoferlund/ic-vite-react-next/tree/ic-reactor).\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]](LICENSE)\n\n![](./media/screenshot.png)\n\n## Features\n\n### Backend\n\nThe Rust based backend exposes one endpoint only, the `greet` function that returns a greeting message.\n\n### Frontend\n\nThe React/Vite/TS based frontend allows the user to input a name and click a button to fetch the greeting message from the backend.\n\nDependencies:\n\n- [React 19](https://react.dev): The long awaited upgrade brings form actions, optimistic UI updates while mutating, etc etc.\n- [Vite 6](https://vite.dev/): The most significant major release since Vite 2, featuring a new Environment API for enhanced flexibility, extended framework support, and streamlined performance for modern web development.\n- [Tailwind 4](https://tailwindcss.com/docs/v4-beta): The new version of Tailwind CSS is a ground-up rewrite of the framework, providing faster builds, great new CSS classes and better performance.\n- [Tanstack Query 5](https://tanstack.com/query/latest): The template uses Tanstack Query for data fetching, caching and loading state management.\n- [SWC](https://swc.rs/): The Rust based compiler and bundler that provides up to 70x faster build times than Babel.\n- [Eslint 9](https://eslint.org/): The latest release of Eslint introduces the flat configuration API along with new rules and bug fixes.\n- [shadcn/ui](https://ui.shadcn.com/): Sorry, no. Shadcn is not available for Tailwind 4 yet. Soon hopefully.\n\n## Setup, dev environment\n\nThere are two main ways to set up the dev environment:\n\n### 1. Using a VS Code Dev Container\n\nThe dev containers extension lets you use a Docker container as a full-featured\ndevelopment environment. This repository includes a dev container configuration\nthat you can use to open the project with all the necessary tools and\ndependencies pre-installed.\n\nPre-requisites:\n\n- [Docker](https://www.docker.com/products/docker-desktop)\n- [Visual Studio Code](https://code.visualstudio.com/)\n- [Dev Containers Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)\n\nOnce Docker, Visual Studio Code and the Dev Containers Extension are installed,\nyou can open the project in a container by clicking the button below:\n\n[![Open locally in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers\u0026message=Open\u0026color=blue\u0026logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/kristoferlund/ic-vite-react-next)\n\n### 2. Setup manually\n\nPre-requisites:\n\n- [Local Internet Computer dev environment](https://internetcomputer.org/docs/current/developer-docs/backend/rust/dev-env)\n- [pnpm](https://pnpm.io/installation)\n\nOnce you have the prerequisites installed, you can clone this repository and run\nthe project.\n\n## Running the project\n\n### 1. Start the Internet Computer\n\n```bash\ndfx start --background\n```\n\n### 2. Install dependencies\n\n```\npnpm install\n```\n\n### 3. Deploy the canisters\n\n```\ndfx deploy\n```\n\n## Develop\n\nDuring development, you can run the frontend with hot reloading using Vite.\n\n```bash\npnpm run dev\n```\n\n## Contributors\n\n\u003c!-- readme: collaborators,contributors -start --\u003e\n\u003ctable\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n            \u003ctd align=\"center\"\u003e\n                \u003ca href=\"https://github.com/kristoferlund\"\u003e\n                    \u003cimg src=\"https://avatars.githubusercontent.com/u/9698363?v=4\" width=\"100;\" alt=\"kristoferlund\"/\u003e\n                    \u003cbr /\u003e\n                    \u003csub\u003e\u003cb\u003eKristofer\u003c/b\u003e\u003c/sub\u003e\n                \u003c/a\u003e\n            \u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003ctbody\u003e\n\u003c/table\u003e\n\u003c!-- readme: collaborators,contributors -end --\u003e\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for more\ndetails.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request if you\nhave any suggestions or improvements.\n\n[contributors-shield]: https://img.shields.io/github/contributors/kristoferlund/ic-vite-react-next.svg?style=for-the-badge\n[contributors-url]: https://github.com/kristoferlund/ic-vite-react-next/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/kristoferlund/ic-vite-react-next.svg?style=for-the-badge\n[forks-url]: https://github.com/kristoferlund/ic-vite-react-next/network/members\n[stars-shield]: https://img.shields.io/github/stars/kristoferlund/ic-vite-react-next?style=for-the-badge\n[stars-url]: https://github.com/kristoferlund/ic-vite-react-next/stargazers\n[issues-shield]: https://img.shields.io/github/issues/kristoferlund/ic-vite-react-next.svg?style=for-the-badge\n[issues-url]: https://github.com/kristoferlund/ic-vite-react-next/issues\n[license-shield]: https://img.shields.io/github/license/kristoferlund/ic-vite-react-next.svg?style=for-the-badge\n\n## Commit Message Convention\n\nThis website follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)\n\n### Format\n\n`\u003ctype\u003e(optional scope): \u003cdescription\u003e`\nExample: `feat(pre-event): add speakers section`\n\n### 1. Type\n\nAvailable types are:\n\n- feat → Changes about addition or removal of a feature. Ex: `feat: add table on landing page`, `feat: remove table from landing page`\n- fix → Bug fixing, followed by the bug. Ex: `fix: illustration overflows in mobile view`\n- docs → Update documentation (README.md)\n- style → Updating style, and not changing any logic in the code (reorder imports, fix whitespace, remove comments)\n- chore → Installing new dependencies, or bumping deps\n- refactor → Changes in code, same output, but different approach\n- ci → Update github workflows, husky\n- test → Update testing suite, cypress files\n- revert → when reverting commits\n- perf → Fixing something regarding performance (deriving state, using memo, callback)\n- vercel → Blank commit to trigger vercel deployment. Ex: `vercel: trigger deployment`\n\n### 2. Optional Scope\n\nLabels per page Ex: `feat(pre-event): add date label`\n\n\\*If there is no scope needed, you don't need to write it\n\n### 3. Description\n\nDescription must fully explain what is being done.\n\nAdd BREAKING CHANGE in the description if there is a significant change.\n\n**If there are multiple changes, then commit one by one**\n\n- After colon, there are a single space Ex: `feat: add something`\n- When using `fix` type, state the issue Ex: `fix: file size limiter not working`\n- Use imperative, and present tense: \"change\" not \"changed\" or \"changes\"\n- Don't use capitals in front of the sentence\n- Don't add full stop (.) at the end of the sentence\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanzceo%2Focart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanzceo%2Focart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanzceo%2Focart/lists"}