The link between professionals and clients in Morocco
# HRFA.MA - Moroccan Artisans Marketplace 🇲🇦
HRFA.MA (Herfa) is a premium digital marketplace connecting skilled Moroccan artisans with clients seeking professional home services. The platform is built with modern technologies to ensure a fast, secure, and user-friendly experience.
## ✨ Features
- **Authentication & Roles**: Secure login for Clients, Artisans, and Admins using NextAuth.js.
- **Service Booking**: Easy multi-step booking flow for plumbing, electricity, carpentry, and more.
- **Micro-Dashboards**:
- **Artisans**: Manage orders, view earnings, and update portfolios.
- **Clients**: Track booking status and history.
- **Admin**: Verify artisans and manage platform categories.
- **Search & Discovery**: Advanced filtering by city and trade.
- **Localization**: Full RTL support for Arabic (Darija) users.
## 🛠️ Tech Stack
- **Framework**: Next.js 14 (App Router)
- **Styling**: Tailwind CSS + shadcn/ui
- **Database**: PostgreSQL with Prisma ORM
- **Authentication**: NextAuth.js v5
## 🚀 Getting Started
1. **Clone the repository**
```bash
git clone
github.com
cd hrfa.mab
```
2. **Install dependencies**
```bash
npm install
```
3. **Setup Environment Variables**
Create a `.env` file based on `.env.example` and add your database/auth secrets.
4. **Run the development server**
```bash
npm run dev
```
Open
localhost to view the application.
## đź“„ License
This project is proprietary property of HRFA.MA.