I've created a complete deployment package with:
- ✅ Professional README.md with full documentation
- ✅ Dockerfile for container deployment
- ✅ GitHub Actions workflow (.github/workflows/deploy.yml)
- ✅ Environment configuration (.env.example)
- ✅ Deployment guides (DEPLOYMENT.md, demo-setup.md)
- ✅ MIT License
- ✅ Complete project documentation
- Go to github.com
- Click "New repository"
- Name:
discountmart(or your preferred name) - Description: "E-commerce application for local discount store in Rwanda"
- Make it Public (for live demo)
- Don't initialize with README (we already have one)
- Click "Create repository"
Since you're on Replit, you need to get your code to your local machine:
Option A: Download ZIP
- In Replit, click on your project name
- Click "Download as ZIP"
- Extract the ZIP file on your computer
Option B: Use Replit Git If available in your Replit environment:
git init
git add .
git commit -m "Initial commit: DiscountMart e-commerce application"Open terminal/command prompt on your computer:
# Navigate to your project folder
cd path/to/discountmart
# Initialize git (if not already done)
git init
# Add all files
git add .
# Commit
git commit -m "Initial commit: Complete DiscountMart e-commerce application with live demo"
# Add your GitHub repository as remote
git remote add origin https://github.com/casmonster/LocalDiscountMart.git
# Push to GitHub
git branch -M main
git push -u origin main- Visit vercel.com
- Sign in with GitHub
- Click "New Project"
- Import your discountmart repository
- Add environment variable:
- Key:
DATABASE_URL - Value: Your PostgreSQL connection string
- Key:
- Click "Deploy"
- Visit railway.app
- Connect with GitHub
- Select your discountmart repository
- Add environment variables:
DATABASE_URL: Your PostgreSQL connection string
- Deploy
- Visit render.com
- Connect GitHub account
- Create new Web Service
- Select discountmart repository
- Settings:
- Build Command:
npm run build - Start Command:
npm run start
- Build Command:
- Add environment variable:
DATABASE_URL - Deploy
Neon (Recommended)
- Visit neon.tech
- Sign up free
- Create project: "discountmart-demo"
- Copy connection string
- Use as DATABASE_URL in deployment
Supabase
- Visit supabase.com
- Create project: "discountmart-demo"
- Go to Settings → Database
- Copy connection string
- Use as DATABASE_URL
Your hosting platform should automatically run:
npm run db:pushThis creates all tables with sample data.
Visit your deployed URL and test:
- Homepage loads
- Browse products
- Add to cart
- Checkout process
- Order tracking
- Admin dashboard:
/admin/orders/manage
Replace placeholder URLs in README.md with your actual live demo URL.
- Complete product catalog with 30+ items
- Shopping cart with Rwanda Franc (RWF) pricing
- Order placement and tracking
- Newsletter subscription
- Wishlist and recently viewed products
- Order management dashboard
- Order status updates (pending → processing → shipped → delivered)
- Newsletter subscriber management
- Products across 5 categories (Electronics, Clothing, Home & Garden, Sports, Books)
- Sample orders with different statuses
- Newsletter subscriptions for testing
Your live demo will be available at:
- Vercel:
https://discountmart-yourusername.vercel.app - Railway:
https://discountmart-production.railway.app - Render:
https://discountmart.onrender.com
- Git Issues: Make sure you have Git installed locally
- Database Connection: Verify your DATABASE_URL is correct
- Build Errors: Check the deployment logs in your hosting platform
- Environment Variables: Ensure DATABASE_URL is set in your deployment platform
Once deployed, your DiscountMart application will be a fully functional e-commerce demo showcasing:
- Modern React/TypeScript frontend
- Express.js backend with PostgreSQL
- Complete shopping experience
- Admin management tools
- Professional Rwanda-focused e-commerce solution
Share your live demo URL to showcase the complete application!