{"id":15414708,"url":"https://github.com/tobysolutions/fleek-function-websocket-poc","last_synced_at":"2026-01-03T12:10:35.996Z","repository":{"id":250006204,"uuid":"833162704","full_name":"tobySolutions/fleek-function-websocket-poc","owner":"tobySolutions","description":"A simple POC to showcase fleek functions opening websockets.","archived":false,"fork":false,"pushed_at":"2024-07-24T15:26:58.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T13:37:20.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tobySolutions.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":"2024-07-24T13:28:17.000Z","updated_at":"2024-07-24T15:27:01.000Z","dependencies_parsed_at":"2024-07-24T17:46:23.829Z","dependency_job_id":"33f50c14-f167-4d65-abcb-8324e18719b5","html_url":"https://github.com/tobySolutions/fleek-function-websocket-poc","commit_stats":null,"previous_names":["tobysolutions/fleek-function-websocket-poc"],"tags_count":0,"template":false,"template_full_name":"fleek-tools/react-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Ffleek-function-websocket-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Ffleek-function-websocket-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Ffleek-function-websocket-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Ffleek-function-websocket-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobySolutions","download_url":"https://codeload.github.com/tobySolutions/fleek-function-websocket-poc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926071,"owners_count":20369910,"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":[],"created_at":"2024-10-01T17:04:39.017Z","updated_at":"2026-01-03T12:10:35.957Z","avatar_url":"https://github.com/tobySolutions.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Boilerplate\n![React Boilerplate](https://github.com/fleek-tools/react-template/assets/74613246/443647a2-26bd-4872-aafd-fe6a16f0e2f5)\n\n\n## 🚀 Project Structure\n\nInside of your React project, you'll see the following folders and files:\n\n```\n/\n├── public/\n│   └── favicon.svg\n├── src/\n│   ├── assets/\n│   ├── main.tsx\n│   ├── App.tsx\n│   └── App.css\n├── index.html\n├── tsconfig.json\n├── vide.config.ts\n└── package.json\n```\n\nIf you want to learn more about `vite` and `react` you can checkout [Vite Documentation](https://vitejs.dev/).\n\n## 🧞 Commands\n\nAll commands are run from the root of the project, from a terminal:\n\n| Command                | Action                                           |\n| :--------------------- | :----------------------------------------------- |\n| `pnpm install`          | Installs dependencies                            |\n| `pnpm run dev`          | Starts local dev server at `localhost:3000`      |\n| `pnpm run build`        | Build your production site to `./dist/`          |\n| `pnpm run preview`      | Preview your build locally, before deploying     |\n| `pnpm run lint ...`    | Run Linter |\n\n## ⚡ How to deploy to Fleek\n\n### 1. Create a `fleek.json` config file:\nYou can configure this site deployment using [Fleek CLI]() and running:\n```\n \u003e fleek sites init\n   WARN! Fleek CLI is in beta phase, use it under your own responsibility\n   ? Choose one of the existing sites or create a new one. › \n   ❯ Create a new site\n```\nIt will prompt you for a `name`, `dist` directory location \u0026 `build command`\n- `name`: How you want to name the site\n- `dist`: The output directory where the site is located, for this template it's `dist`\n- `build command`: Command to build your site, this will be used to deploy the latest version either by CLI or Github Actions\n\n### 2. Deploy the site\nAfter configuiring your `fleek.json` file, you can deployt the site by running\n\n```\nfleek sites deploy\n```\nAfter running it you will get an output like this:\n```\n WARN! Fleek CLI is in beta, use it at your own discretion\n \u003e Success! Deployed!\n \u003e Site IPFS CID: QmP1nDyoHqSrRabwUSrxRV3DJqiKH7b9t1tpLcr1NTkm1M\n\n \u003e You can visit through the gateway:\n \u003e https://ipfs.io/ipfs/QmP1nDyoHqSrRabwUSrxRV3DJqiKH7b9t1tpLcr1NTkm1M\n ```\n\n### Extra features\n- **Continuous Integration (CI):** `fleek sites ci` [Documentation.](https://docs.fleek.xyz/services/sites/#continuous-integration-ci)\n- **Adding custom domains:** `fleek domains create` [Documentation.](https://docs.fleek.xyz/services/domains/)\n\n\n### Keep in mind:\n\nThis template has been configured to produce a static output.\n\n```js\n// vite.config.ts\n\nimport { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react-swc'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [react()],\n  base: \"./\",\n})\n```\n\nThis means that assets will be pre-fixed with `./`, you can learn more about it in [Vite Documentation](https://vitejs.dev/config/shared-options.html#base)\n\n\n## 👀 Want to learn more?\n\nFeel free to check [React documentation](https://react.dev/) or [Vite Documentation](https://vitejs.dev/guide/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobysolutions%2Ffleek-function-websocket-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobysolutions%2Ffleek-function-websocket-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobysolutions%2Ffleek-function-websocket-poc/lists"}