Earn 9,000 ($90.00)
Website Deployment
Bounty Description
Problem Description
I'm experiencing deployment issues with a full-stack React/Express application on Replit. When visiting my deployed application, a blank page displays instead of the website. The application functions correctly in the development environment but fails to render in production. Additionally, static assets (images, CSS, JS) often return 404 errors on deployment even though they work locally. My application has separate frontend (React/Vite) and backend (Express) systems that need to work together on a single Replit deployment.
Acceptance Criteria
Successfully deploy the full-stack application on Replit with all components rendering properly
Fix the blank page issue so the site loads correctly
Resolve asset loading issues (404 errors) for images and other static files
Ensure both frontend and backend systems are properly integrated
Provide documentation of the solution and steps taken for future reference
The solution should work specifically for Replit's deployment environment
Technical Details
Frontend: React with TypeScript, built using Vite
Backend: Express.js with PostgreSQL database via Neon
Authentication: Custom system with admin capabilities
Build process:
Frontend: vite build
Backend: esbuild server/index.ts --platform=node --packages=external --bundle --format=esm --outdir=dist
Start command: NODE_ENV=production node dist/index.js
Various asset optimization scripts and path handling have been implemented but still experiencing issues
Replit deployment URL: https://furnish-showcase-varun97.replit.app/
Link to Project
https://replit.com/@varun97/furnish-showcase