{"id":15136828,"url":"https://github.com/react-declarative/cra-template-appwrite","last_synced_at":"2025-10-07T12:49:35.519Z","repository":{"id":65147949,"uuid":"583991173","full_name":"react-declarative/cra-template-appwrite","owner":"react-declarative","description":"The most advanced CRM Boilerplate for React + AppWrite. Contains snippets for automatic state management in a declarative style","archived":false,"fork":false,"pushed_at":"2024-05-30T10:31:02.000Z","size":4364,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-24T23:01:27.073Z","etag":null,"topics":["appwrite","baas","backend","backend-as-a-service","create-react-app","declarative","declarative-programming","dependency-injection","docker","firebase","fp","javascript","mobx","oop","react","self-hosted","selfhosted","serverless","typescript","web-tools"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/react-declarative.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":"2022-12-31T19:56:05.000Z","updated_at":"2025-06-05T12:50:06.000Z","dependencies_parsed_at":"2024-05-29T22:14:18.870Z","dependency_job_id":"9da4f43a-8482-497e-a0d8-0eeee985be34","html_url":"https://github.com/react-declarative/cra-template-appwrite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/react-declarative/cra-template-appwrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fcra-template-appwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fcra-template-appwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fcra-template-appwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fcra-template-appwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-declarative","download_url":"https://codeload.github.com/react-declarative/cra-template-appwrite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fcra-template-appwrite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278778960,"owners_count":26044256,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["appwrite","baas","backend","backend-as-a-service","create-react-app","declarative","declarative-programming","dependency-injection","docker","firebase","fp","javascript","mobx","oop","react","self-hosted","selfhosted","serverless","typescript","web-tools"],"created_at":"2024-09-26T06:41:30.162Z","updated_at":"2025-10-07T12:49:35.501Z","avatar_url":"https://github.com/react-declarative.png","language":"TypeScript","readme":"# ⚛️ cra-template-appwrite\n\n\u003e Contains the most advanced appwrite starter kit which you ever seen!\n\n[![npm](https://img.shields.io/npm/v/cra-template-appwrite.svg?style=flat-square)](https://npmjs.org/package/cra-template-appwrite)\n\n![screenshot](./docs/screenshot.gif)\n\n## Contribute\n\n\u003e [!IMPORTANT]\n\u003e Made by using [react-declarative](https://github.com/react-declarative/react-declarative) to solve your problems. **⭐Star** and **💻Fork** It on github will be appreciated\n\n## Usage\n\n```bash\nyarn create react-app --template cra-template-appwrite .\n```\n\nor\n\n```bash\nnpx create-react-app . --template=appwrite\n```\n\n## What's inside\n\n1. [TypeScript](https://www.typescriptlang.org/)\n2. [MUI](https://mui.com/)\n3. [Mobx](https://mobx.js.org/)\n4. [tss-react](https://www.tss-react.dev/)\n5. [react-declarative](https://www.npmjs.com/package/react-declarative)\n6. [appwrite](https://www.npmjs.com/package/appwrite)\n7. [local-web-server](https://www.npmjs.com/package/local-web-server)\n\n## Code sample\n\n```tsx\nimport { useState } from 'react';\nimport {\n    FetchView,\n    RecordView,\n    ActionTrigger,\n    useReloadTrigger,\n    IActionTrigger,\n} from 'react-declarative';\n\nimport ioc from '../../lib/ioc';\n\ninterface ITodoOnePageProps {\n    id: string;\n}\n\nconst actions: IActionTrigger[] = [\n    {\n        label: 'Mark as complete',\n        action: 'complete-action',\n    }\n];\n\nexport const TodoOnePage = ({\n    id,\n}: ITodoOnePageProps) =\u003e {\n\n    const { reloadTrigger, doReload } = useReloadTrigger();\n    \n    const [search, setSearch] = useState('');\n\n    const state = async () =\u003e await ioc.todoDbService.findById(id);\n\n    const handleAction = async (action: string) =\u003e {\n        if (action === 'complete-action') {\n            await ioc.todoDbService.update(id, {\n                completed: true,\n            });\n            doReload();\n        }\n    };\n\n    return (\n        \u003c\u003e\n            \u003cActionTrigger\n                actions={actions}\n                onAction={handleAction}\n            /\u003e\n            \u003cFetchView state={state} deps={[reloadTrigger]}\u003e\n                {(data) =\u003e (\n                    \u003cRecordView\n                        onSearchChanged={(search) =\u003e setSearch(search)}\n                        search={search}\n                        data={data}\n                    /\u003e\n                )}\n            \u003c/FetchView\u003e\n        \u003c/\u003e\n    );\n};\n\nexport default TodoOnePage;\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-declarative%2Fcra-template-appwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-declarative%2Fcra-template-appwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-declarative%2Fcra-template-appwrite/lists"}