Dev 44 develop boilerplate new appointment booking app#1064
Merged
josekudiyirippil merged 7 commits intoJun 2, 2026
Merged
Conversation
Replace SSR setup with a client-side Vite React app and simplify runtime server. Removed server-side entry and SSR rendering, renamed client entry to main.tsx using createRoot, and updated index.html to remove SSR outlet. package.json scripts now use vite for dev and build. server.js simplified to a static file server that serves dist files and exposes /config/runtime-config.json. Dockerfile and compose.yaml adjusted to run the frontend image (added appointment-booking service in compose, exposed port 5173, and updated Postgres image/ports). Documentation updated across README files to document the new React Vite app and dev/run instructions.
Switch to nginx and serve built assets statically. Added nginx.conf and public/config/runtime-config.json, removed the custom Node server and in-image logos, and updated Dockerfile to copy dist into /app and run nginx on 8080. Updated package.json preview script to use vite preview, adjusted docker compose port mapping (5173:8080) and README instructions, and added ci_output.txt to .gitignore while deleting the file. Also expanded local CORS origins in api/config.py to include Vite ports 5173/5174.
Switch the runtime config filename to appointment-configuration.json. Rename public/config/runtime-config.json to public/config/appointment-configuration.json, update README references, and change the RUNTIME_CONFIG_URL in runtime-config.service.ts to '/config/appointment-configuration.json' so the app fetches the new config path on startup.
Rename the runtime config file from appointment-configuration.json to configuration.json and update related code and docs. Added public/config/configuration.json (uses VUE_APP_ROOT_API and requestTimeoutMs), removed the old appointment-configuration.json, updated runtime-config.service to fetch /config/configuration.json and map VUE_APP_ROOT_API to apiBaseUrl (with fallback and timeout handling), and updated the README to reference the new file path.
… of https://github.com/bcgov/queue-management into dev-44-develop-boilerplate-new-appointment-booking-app
|
josekudiyirippil
approved these changes
Jun 2, 2026
Collaborator
josekudiyirippil
left a comment
There was a problem hiding this comment.
looks good. tested.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.