Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An Azure Static Web App (React) that uses all booking APIs.

NotificationsYou must be signed in to change notification settings

jamalsoueidan/booking-admin

Repository files navigation

Preview:https://victorious-water-04353a503.2.azurestaticapps.net/

The 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.

Deployment

npmrunbuild

This will install deps, download openapi.yml and generate the typesafe react-query hook, and start the dev server.

Development

npminstallnpmrunfb-openapi//fetch and build openapinpmrundev

Github Actions:

pull request

  1. Running chromatic (storybook)
  2. Validate that build works (in case any api generation failling for some reason)

main branch

  1. Deploy Azure Static Web App

Vite configuration

You need to configure vite to point to the api.

exportdefaultdefineConfig({server:{open:true,proxy:{"/api":{target:"http://localhost:7071/api",changeOrigin:true,secure:false,ws:false,rewrite:(path)=>path.replace(/^\/api/,""),},},},plugins:[react()],});

Articles

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp