"OriginBrew is a full-stack e-commerce platform connecting premium African coffee and honey producers directly to global buyers. Built with React, Node.js, and PostgreSQL, it features a product catalog, farmer profiles, cart, Stripe & Mobile Money payments, and an admin dashboard for orders and inventory."
# OriginBrew
OriginBrew is a full-stack e-commerce web application for a Rwandan coffee and honey brand. It includes:
- React frontend built with Vite
- Node.js + Express backend
- PostgreSQL database
- JWT authentication
- Product catalog with search and filters
- Shopping cart and checkout flow
- Stripe and MTN Mobile Money payment integration
- Admin dashboard for product/orders/inventory management
- Dynamic farmers page with profiles stored in the database
- GitHub Actions CI and Vercel-ready deployment configuration
## Local setup
1. Copy environment variables:
- `cp backend/.env.example backend/.env`
- `cp frontend/.env.example frontend/.env`
2. Install dependencies:
- `npm install`
3. Run database initialization:
- `psql < backend/db/init.sql`
4. Start both apps locally:
- `npm run dev`
## Deploy
The repository includes a Vercel configuration at `vercel.json` and a GitHub Actions pipeline at `.github/workflows/ci.yml`.