Deploy React (SPA) on CreateOS
Deploy React single-page applications with optimized static hosting, CDN distribution, and instant cache invalidation.
How to Deploy
1
Connect your repository
Link your GitHub repository with your React SPA project.
2
Configure build output
CreateOS detects your build tool (Vite, CRA, etc.) and configures the output directory.
3
Set environment variables
Add any REACT_APP_ prefixed environment variables.
4
Deploy
Deploy your SPA with global CDN distribution and automatic SSL.
Features
Vite and CRA support
Global CDN distribution
Client-side routing support
Automatic asset optimization
Instant cache invalidation
Default Commands
Build command:
npm run build