πΏ Freshly Harvested Premium Mushrooms, Delivered to Your Door πΏ
Discover a world of flavor with our exquisite selection of organic and wild-foraged fungi
β¨ Features
π E-commerce Functionality
- Interactive shopping cart with real-time updates
- Product catalog with detailed descriptions and pricing
- Responsive design optimized for all devices
π€ User Experience
- Intuitive user interface with smooth animations
- User authentication simulation (login/logout)
- Admin panel for product management
- Professional consultation services integration
π¨ Modern Design
- Built with Tailwind CSS for responsive styling
- Custom animations and hover effects
- Clean, modern interface with green nature-inspired theme
- Mobile-first responsive design
π Tech Stack
- Framework: Next.js 15.4.6 - React-based full-stack framework
- Styling: Tailwind CSS 3.4.17 - Utility-first CSS framework
- Runtime: React 19.1.0 - JavaScript library for building user interfaces
- Database Ready: Firebase 12.1.0 - Backend services integration
- Development: PostCSS and Autoprefixer for CSS processing
π Prerequisites
Before running this project, make sure you have:
- Node.js (version 18.0 or higher)
- npm, yarn, pnpm, or bun package manager
- Modern web browser (Chrome, Firefox, Safari, Edge)
β‘ Quick Start
1. Clone the Repository
git clone https://github.com/RavinduWanasinghe0524/royal-mushrooms-frontend.git
cd royal-mushrooms-frontend
2. Install Dependencies
npm install
# or
yarn install
# or
pnpm install
# or
bun install
3. Run the Development Server
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
4. Open Your Browser
Navigate to http://localhost:3000 to see the application in action! π
π Project Structure
royal-mushrooms-frontend/
βββ pages/
β βββ _app.js # App wrapper with global styles
β βββ _document.js # Custom document structure
β βββ index.js # Main homepage component
βββ styles/
β βββ globals.css # Global CSS with Tailwind
β βββ Home.module.css # Component-specific styles
βββ public/
β βββ [assets] # Static assets (images, icons)
βββ tailwind.config.js # Tailwind CSS configuration
βββ postcss.config.js # PostCSS configuration
βββ package.json # Project dependencies
ποΈ Product Features
Premium Mushroom Selection
- Forest Shiitake - Rich umami flavor, perfect for stir-fries
- Pearl Oyster Mushrooms - Delicate texture, seafood alternative
- Giant Portobello Caps - Meaty, robust flavor for grilling
- Royal Lionβs Mane - Unique texture with cognitive benefits
- Golden Chanterelles - Gourmet favorite with fruity aroma
- Add/remove items from cart with quantity management
- Real-time price calculation
- Responsive cart modal with smooth animations
- Currency display in LKR (Sri Lankan Rupees)
π¨ UI/UX Features
- Responsive Design: Optimized for desktop, tablet, and mobile
- Smooth Animations: Custom CSS animations and transitions
- Interactive Elements: Hover effects and button animations
- Color Scheme: Nature-inspired green palette
- Typography: Inter font family for modern readability
π§ Development Scripts
# Start development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Run ESLint
npm run lint
π Deployment
Deploy on Vercel (Recommended)
- Push your code to a Git repository
- Visit Vercel
- Import your repository
- Deploy with one click! π
Deploy on Netlify
- Build the project:
npm run build
- Deploy the
out
folder to Netlify
Deploy on Traditional Hosting
- Run
npm run build
- Upload the generated files to your web server
π€ Contributing
We welcome contributions! Hereβs how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature
)
- Commit your changes (
git commit -m 'Add some AmazingFeature'
)
- Push to the branch (
git push origin feature/AmazingFeature
)
- Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Built with β€οΈ using Next.js and Tailwind CSS
- Icons from Heroicons
- Images from placeholder services
- Inspired by modern e-commerce design principles
π Royal Mushrooms - Where Quality Meets Nature π
Β© 2024 Royal Mushrooms. All rights reserved.