{"id":18633553,"url":"https://github.com/jamalsoueidan/booking-admin","last_synced_at":"2026-04-05T21:31:48.297Z","repository":{"id":153529687,"uuid":"624934035","full_name":"jamalsoueidan/booking-admin","owner":"jamalsoueidan","description":"An Azure Static Web App (React) that uses all booking APIs.","archived":false,"fork":false,"pushed_at":"2023-04-29T11:58:49.000Z","size":1755,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-20T07:08:05.271Z","etag":null,"topics":["azure","chromatic","openapi","orval","react","react-query","static-web-app","storybook","typescript"],"latest_commit_sha":null,"homepage":"https://www.chromatic.com/library?appId=6437113363a41d5b2578b431","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/jamalsoueidan.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,"zenodo":null}},"created_at":"2023-04-07T16:16:08.000Z","updated_at":"2023-10-10T09:40:06.000Z","dependencies_parsed_at":"2023-05-19T02:45:14.834Z","dependency_job_id":null,"html_url":"https://github.com/jamalsoueidan/booking-admin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamalsoueidan/booking-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamalsoueidan%2Fbooking-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamalsoueidan%2Fbooking-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamalsoueidan%2Fbooking-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamalsoueidan%2Fbooking-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamalsoueidan","download_url":"https://codeload.github.com/jamalsoueidan/booking-admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamalsoueidan%2Fbooking-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"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":["azure","chromatic","openapi","orval","react","react-query","static-web-app","storybook","typescript"],"created_at":"2024-11-07T05:15:34.349Z","updated_at":"2026-04-05T21:31:48.270Z","avatar_url":"https://github.com/jamalsoueidan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Booking Admin Application\n\nPreview: https://victorious-water-04353a503.2.azurestaticapps.net/\n\nThe Booking Admin application manage appointments for users. It is built using the React library and the Shopify Polaris design system. The application serves as the front-end layer that communicates with the back-end Booking API, providing seamless and user-friendly management of appointments, shifts, and user-related tasks.\n\n## Deployment\n\n```js\nnpm run build\n```\n\nThis will install deps, download openapi.yml and generate the typesafe react-query hook, and start the dev server.\n\n## Development\n\n```js\nnpm install\nnpm run fb-openapi //fetch and build openapi\nnpm run dev\n```\n\n## Github Actions:\n\n### pull request\n\n1. Running chromatic (storybook)\n2. Validate that build works (in case any api generation failling for some reason)\n\n### main branch\n\n1. Deploy Azure Static Web App\n\n## Vite configuration\n\nYou need to configure vite to point to the api.\n\n```js\nexport default defineConfig({\n  server: {\n    open: true,\n    proxy: {\n      \"/api\": {\n        target: \"http://localhost:7071/api\",\n        changeOrigin: true,\n        secure: false,\n        ws: false,\n        rewrite: (path) =\u003e path.replace(/^\\/api/, \"\"),\n      },\n    },\n  },\n  plugins: [react()],\n});\n```\n\n## Articles\n\n- How to convert openapi to use-query:\n  https://xata.io/blog/openapi-typesafe-react-query-hooks\n\n- Link an existing Azure Functions app\n  https://learn.microsoft.com/en-us/azure/static-web-apps/functions-bring-your-own#link-an-existing-azure-functions-app\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamalsoueidan%2Fbooking-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamalsoueidan%2Fbooking-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamalsoueidan%2Fbooking-admin/lists"}