A Zepto-like delivery application built with Next.js, TypeScript, and Supabase. This app supports three user roles: Owner, Customer, and Delivery Partner with real-time features.
- Analytics Dashboard: View total orders, customers, revenue, and delivery partners
- Product Management: Add, edit, delete products with categories and stock management
- Order Management: Monitor all orders and their status
- Delivery Partner Management: View and manage delivery partners
- Real-time Updates: Live order tracking and notifications
- Product Browsing: Browse products by categories
- Shopping Cart: Add/remove items with quantity management
- Order Placement: Place orders with delivery address
- Order Tracking: Real-time order status updates
- Order History: View past orders and their status
- Availability Toggle: Set availability status
- Order Assignment: View assigned deliveries
- Real-time Updates: Live order status updates
- Location Tracking: Update current location
- Order Management: Update order status (pickup, delivery, etc.)
- Frontend: Next.js 14, React 18, TypeScript
- Styling: Tailwind CSS
- Backend: Supabase (PostgreSQL, Auth, Real-time)
- State Management: React Context + Zustand
- Icons: Lucide React
- Notifications: React Hot Toast
- Node.js 18+
- npm or yarn
- Supabase account
git clone <repository-url>
cd bharathi-delivery-appnpm install
# or
yarn install- Create a new project at supabase.com
- Go to Settings > API to get your project URL and anon key
- Create a
.env.localfile in the root directory:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key- Go to your Supabase project dashboard
- Navigate to SQL Editor
- Copy and paste the contents of
supabase/schema.sql - Run the SQL script to create all tables and policies
- In Supabase dashboard, go to Authentication > Settings
- Configure your site URL (e.g.,
http://localhost:3000) - Add redirect URLs for authentication
npm run dev
# or
yarn devOpen http://localhost:3000 in your browser.
- Email: Akhildivakara@gmail.com
- Password: 9959827826Dd@
- Full access to all features
- Manage products, orders, and delivery partners
- View analytics and business insights
- Browse and purchase products
- Manage shopping cart
- Track orders in real-time
- Accept and manage deliveries
- Update order status
- Track location and availability
The app uses the following main tables:
- users: User accounts with role-based access
- products: Product catalog with categories and stock
- orders: Order management with status tracking
- order_items: Individual items in each order
- delivery_partners: Delivery partner profiles
- cart: Customer shopping carts
- cart_items: Items in shopping carts
- order_tracking: Real-time order status updates
- Live order status updates
- Real-time notifications
- Live delivery tracking
- Instant inventory updates
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy
The app can be deployed to any platform that supports Next.js:
- Netlify
- Railway
- DigitalOcean App Platform
- AWS Amplify
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License.
For support, email support@bharathienterprises.com or create an issue in the repository.
- Mobile app (React Native)
- Payment gateway integration
- Push notifications
- Advanced analytics
- Multi-language support
- Dark mode
- Advanced search and filters
- Loyalty program
- Bulk order management