This is the frontend for the GiftEase application, a digital gift card marketplace.
- Last deployment: {new Date().toISOString()}
- Version: 1.0.0
- Browse gift cards by category
- Secure checkout process
- Order management
- User account management
- Admin dashboard for managing orders and products
- Responsive design for all devices
- Frontend: React, Vite, React Router
- Styling: CSS3 with modern features
- Build Tool: Vite
- Package Manager: npm
In the project directory, you can run:
Runs the app in development mode.
Builds the app for production to the dist folder.
Preview the production build locally.
Create a .env.local file in the project root with the following variables:
REACT_APP_API_URL=http://localhost:5003
VITE_API_URL=http://localhost:5003
For production deployment, replace the URL with your actual backend API URL.
This project is configured for easy deployment to Vercel with automated CI/CD.
To deploy to Vercel:
- Push your code to GitHub
- Import the repository in Vercel
- Set the environment variables in Vercel dashboard
- Deploy
If you encounter deployment issues, especially with Railway backend deployment:
-
"No repository found" on Railway:
- Run
CHECK_GITHUB_REPO.batto verify repository access - Check
RAILWAY_DEPLOYMENT_TROUBLESHOOTING.mdfor detailed solutions - Try the Railway CLI deployment method using
DEPLOY_TO_RAILWAY_USING_CLI.bat
- Run
-
GitHub Integration Problems:
- Ensure Railway has proper GitHub permissions
- Consider making your repository temporarily public for deployment
-
Alternative Deployment:
- Use
DEPLOY_TO_RAILWAY_USING_CLI.batfor direct CLI deployment
- Use
You can learn more in the Vite documentation.
To learn React, check out the React documentation.