Skip to content

oViqa/Raihan

Repository files navigation

Raihan - E-commerce with WhatsApp Integration

A Next.js e-commerce website that displays products online but processes orders through WhatsApp.

Features

  • Modern UI built with Next.js and Tailwind CSS
  • Responsive design that works on all devices
  • Product catalog with category filtering
  • WhatsApp integration for order processing
  • Server-side rendering with Next.js App Router

Technology Stack

  • Frontend: Next.js 14 with TypeScript
  • Styling: Tailwind CSS
  • Routing: Next.js App Router
  • State Management: React useState and useEffect hooks

Getting Started

Prerequisites

  • Node.js 18.17 or later
  • npm or yarn

Installation

  1. Clone the repository
git clone <repository-url>
cd raihan
  1. Install dependencies
npm install
# or
yarn install
  1. Run the development server
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 in your browser to see the application.

Project Structure

├── app/                  # Next.js App Router structure
│   ├── components/       # Reusable UI components
│   ├── products/         # Products page
│   ├── layout.tsx        # Root layout component
│   ├── page.tsx          # Home page component
│   └── globals.css       # Global CSS
├── public/               # Static assets
└── package.json          # Project dependencies

Customization

  • Update the WhatsApp phone number: Edit it in components/WhatsAppButton.tsx and other relevant components
  • Modify the product catalog: Edit the PRODUCTS array in app/products/page.tsx
  • Change the styling: The project uses Tailwind CSS which can be customized in the component files

License

This project is open source and available under the MIT License.

Contact

For any inquiries about this project, please reach out via WhatsApp or email.

About

A web platform developed for a small agricultural cooperative located in the rural outskirts of Tétouan, Morocco. This project aims to digitize and modernize the cooperative's operations, providing them with an online presence to showcase their products and connect with potential customers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors