Skip to content

Dev 44 develop boilerplate new appointment booking app#1064

Merged
josekudiyirippil merged 7 commits into
developfrom
dev-44-develop-boilerplate-new-appointment-booking-app
Jun 2, 2026
Merged

Dev 44 develop boilerplate new appointment booking app#1064
josekudiyirippil merged 7 commits into
developfrom
dev-44-develop-boilerplate-new-appointment-booking-app

Conversation

@veenupunyani
Copy link
Copy Markdown
Collaborator

No description provided.

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.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

@josekudiyirippil josekudiyirippil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. tested.

@josekudiyirippil josekudiyirippil merged commit 08b3f22 into develop Jun 2, 2026
3 checks passed
@veenupunyani veenupunyani deleted the dev-44-develop-boilerplate-new-appointment-booking-app branch June 2, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants