MercatoLive is your gateway to a dynamic and engaging shopping experience. Designed with precision and powered by real-time technology, MercatoLive offers users an ultra-responsive, animation-rich e-commerce platform where product availability updates live, and transactions are seamless.
- 🔄 Real-Time Inventory: Always know what's in stock, with real-time inventory indicators and low-stock notifications.
- ✨ Immersive Animations: Framer Motion effects for smooth transitions, hover interactions, and engaging UI animations.
- 🔒 Secure Authentication: Powered by NextAuth.js with JWT and OAuth for quick and safe access.
- 💳 Effortless Checkout: Integrated Stripe payments for secure, lightning-fast transactions.
- 📊 Admin Dashboard: Real-time insights on sales, inventory, and customer behavior.
- 📱 Mobile-First Design: Fully responsive and visually consistent across devices.
- Frontend: Next.js (App Router) with Tailwind CSS and Framer Motion for animations.
- Backend: Next.js API routes for backend processes.
- Database: PostgreSQL or MongoDB for reliable data handling.
- Authentication: NextAuth.js for robust, secure user login.
- Payment: Stripe API for global payment processing.
- Real-Time Data: WebSockets or Pusher for live updates and notifications.
- File Storage: Cloudinary or Amazon S3 for optimized image management.
- 🏠 Home Page: Explore trending products with animated carousels and a seamless filtering experience.
- 📦 Product Page: High-quality images, detailed descriptions, and live stock availability for each product.
- 🛒 Cart & Checkout: Real-time cart updates, animated interactions, and a streamlined multi-step checkout.
- 📈 Admin Dashboard: Manage inventory, track sales, and receive low-stock alerts in real time.
- 👤 User Profile: Order history, saved addresses, and secure payment methods for quick reordering.
- Node.js and npm or yarn.
- Accounts for Stripe, MongoDB/PostgreSQL, Cloudinary or Amazon S3.
-
Clone the repository:
git clone https://github.com/yourusername/MercatoLive.git cd MercatoLive
-
Install dependencies:
npm install # or yarn install
-
Set up environment variables: Create a
.env.local
file with the necessary API keys and configurations:DATABASE_URL=<Your database URL> NEXTAUTH_SECRET=<Your NextAuth secret> STRIPE_SECRET_KEY=<Your Stripe secret key> CLOUDINARY_URL=<Your Cloudinary URL> PUSHER_APP_ID=<Your Pusher app ID> PUSHER_KEY=<Your Pusher key> PUSHER_SECRET=<Your Pusher secret>
-
Run the development server:
npm run dev # or yarn dev
-
Build for production:
npm run build # or yarn build
-
Deploy: Easily deploy to Vercel for optimized Next.js hosting.
- Home: Browse and discover products across categories.
- Product Page: View product details and live stock counts.
- Cart & Checkout: Update quantities, review the total, and place orders.
- Admin Dashboard: Track inventory, manage orders, and get analytics.
- User Profile: Check order status, manage payment methods, and more.
- Fork the Project.
- Create Your Feature Branch:
git checkout -b feature/AmazingFeature
. - Commit Your Changes:
git commit -m 'Add AmazingFeature'
. - Push to the Branch:
git push origin feature/AmazingFeature
. - Open a Pull Request.
This project is licensed under the MIT License.
Reach out for questions or contributions: [email protected]
- Wishlist: Enable users to save items for future purchases.
- Personalized Recommendations: Display products based on user activity.
- Advanced Analytics: In-depth insights into user preferences and sales trends.
🚀 Start shopping, managing, and exploring with MercatoLive – where every interaction is seamless, secure, and engaging.