Skip to content

[!] migrate webui from react-scripts to Vite#1170

Merged
pashagolub merged 3 commits intomasterfrom
migrate-webui-vite
Feb 3, 2026
Merged

[!] migrate webui from react-scripts to Vite#1170
pashagolub merged 3 commits intomasterfrom
migrate-webui-vite

Conversation

@pashagolub
Copy link
Copy Markdown
Collaborator

  • Replaced legacy react-scripts (CRA) with Vite
  • Added vite.config.ts
  • Implemented a custom Vite transformer to handle Go template tags
    ({{.BasePath}}) during development, allowing the app to run without
    backend injection
  • Configured a dev server proxy at port 4000 to correctly route API and
    Auth requests to the Go backend
  • Cleaned up legacy boilerplate
  • Refined package.json
  • Updated tsconfig.json
  • Verified end-to-end functionality in both Dev (Vite server) and
    Production (integrated Go binary) modes

- Replaced legacy react-scripts (CRA) with Vite
- Added vite.config.ts
- Implemented a custom Vite transformer to handle Go template tags
({{.BasePath}}) during development, allowing the app to run without
backend injection
- Configured a dev server proxy at port 4000 to correctly route API and
Auth requests to the Go backend
- Cleaned up legacy boilerplate
- Refined `package.json`
- Updated `tsconfig.json`
- Verified end-to-end functionality in both Dev (Vite server) and
Production (integrated Go binary) modes
@pashagolub pashagolub changed the title [!] migrate webui from react-scripts to Vite [!] migrate webui from react-scripts to Vite Feb 3, 2026
@pashagolub pashagolub self-assigned this Feb 3, 2026
@pashagolub pashagolub added the webui Admin UI related issues label Feb 3, 2026
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21630182261

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 75.446%

Totals Coverage Status
Change from base Build 21626114795: 0.0%
Covered Lines: 4062
Relevant Lines: 5384

💛 - Coveralls

@pashagolub pashagolub merged commit d188371 into master Feb 3, 2026
9 checks passed
@pashagolub pashagolub deleted the migrate-webui-vite branch February 3, 2026 12:45
Hamza-Azeem pushed a commit to Hamza-Azeem/pgwatch that referenced this pull request Feb 3, 2026
)

[!] migrate webui from `react-scripts` to Vite

- Replaced legacy react-scripts (CRA) with Vite
- Added vite.config.ts
- Implemented a custom Vite transformer to handle Go template tags
({{.BasePath}}) during development, allowing the app to run without
backend injection
- Configured a dev server proxy at port 4000 to correctly route API and
Auth requests to the Go backend
- Cleaned up legacy boilerplate
- Refined `package.json`
- Updated `tsconfig.json`
- Verified end-to-end functionality in both Dev (Vite server) and
Production (integrated Go binary) modes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

webui Admin UI related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants