Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
e779675
update
Level237 Mar 5, 2025
1716ad5
update
Level237 Mar 5, 2025
cbd73f3
update homepage delivery
Level237 Mar 5, 2025
5811503
update homepage delivery
Level237 Mar 5, 2025
685a677
update homepage delivery
Level237 Mar 5, 2025
515d752
update
Level237 Mar 5, 2025
21ac495
Update README.md
Level237 Mar 5, 2025
5447c2c
Add HomeGuard component and refactor authentication-related files
Level237 Mar 5, 2025
91ab1d3
Refactor mobile navigation and homepage for delivery app
Level237 Mar 5, 2025
6ec6e5b
Update navigation routes and homepage for delivery app
Level237 Mar 6, 2025
ea2752d
Integrate real-time order data and update HomeAuth component
Level237 Mar 6, 2025
f163628
Add order filtering by preferences in HomeAuth component
Level237 Mar 6, 2025
b98a101
Update DeliveryOrders component with real-time data and improved UI
Level237 Mar 6, 2025
705cfff
Add refresh button and improve responsive design in HomeAuth and Deli…
Level237 Mar 6, 2025
c50128d
Update Account page with real user data and logout functionality
Level237 Mar 6, 2025
1b27084
Add account activation status check and conditional rendering in Home…
Level237 Mar 6, 2025
97dd7cd
Add loading state handling for user data in Account page
Level237 Mar 6, 2025
471b941
Implement order detail page with real-time data and dynamic status re…
Level237 Mar 6, 2025
d69918a
Add delivery countdown route and update order detail page button styling
Level237 Mar 6, 2025
708000f
Implement delivery countdown page and active delivery tracking
Level237 Mar 6, 2025
6410505
Remove unused imports from Homepage component
Level237 Mar 6, 2025
b408ae9
Remove hardcoded order data in OrderDetailPage
Level237 Mar 7, 2025
9dd06ef
Implement quarter-based order filtering in DeliveryOrders component
Level237 Mar 8, 2025
b80a5cf
Add delivery completion confirmation modal and AsyncLink navigation
Level237 Mar 8, 2025
36d6781
Add takeOrder mutation and loading state for delivery countdown
Level237 Mar 8, 2025
4caaff3
Refactor delivery dashboard layout and add active delivery tracking
Level237 Mar 8, 2025
1b17691
Implement active delivery check and warning modal in OrderDetailPage
Level237 Mar 8, 2025
bff0259
Minor refactor of OrderDetailPage component
Level237 Mar 8, 2025
d2db91b
Add active delivery check and warning modal to DeliveryOrders page
Level237 Mar 8, 2025
36cd44b
Add delivery report generation and PDF export for completed orders
Level237 Mar 8, 2025
22cc0d7
Update order completion to include actual delivery duration
Level237 Mar 8, 2025
e772117
Update delivery registration redirect to root path
Level237 Mar 8, 2025
d342d73
Enhance delivery tracking and history with duration display and impro…
Level237 Mar 8, 2025
f22ebdd
Add delivery statistics overview with API integration
Level237 Mar 9, 2025
3a8c16c
Add Recharts for delivery statistics visualization and enhance chart …
Level237 Mar 9, 2025
2f4cda5
Remove deprecated and unused components across multiple dashboard sec…
Level237 Mar 9, 2025
a3b627b
Refactor account dropdown and header navigation for delivery role
Level237 Mar 9, 2025
e29ad33
Migrate project to production API and remove unused pages and components
Level237 Mar 9, 2025
c5edf24
Update header navigation routes and remove unused header actions
Level237 Mar 9, 2025
4e20586
Cleanup header component by removing unused imports and development u…
Level237 Mar 9, 2025
fdbcc07
Switch base URL to local development server in baseQuery and baseQuer…
Level237 Mar 16, 2025
d1bf114
Update HomeAuth component to display feedback messages and a button f…
Level237 Mar 16, 2025
ca44983
Add update documents functionality and route in HomeAuth component
Level237 Mar 16, 2025
1d94113
Refactor document labels in UpdateDocuments component for clarity and…
Level237 Mar 16, 2025
6fedd33
Refactor document handling in UpdateDocuments component by extracting…
Level237 Mar 17, 2025
92ad81e
Add feedback message handling in HomeAuth component and update docume…
Level237 Mar 17, 2025
aca550f
Update UpdateDocuments component by removing unused imports and maint…
Level237 Mar 17, 2025
13ed6b9
Switch base URL in baseQuery to production API
Level237 Mar 17, 2025
679ab1d
Switch base URL in baseQueryNotAuth to production API
Level237 Mar 17, 2025
f884404
Update tickFormatter in DeliveryStats component to ensure type safety
Level237 Mar 17, 2025
ec08242
Update HomeAuth component to conditionally display feedback messages …
Level237 Mar 18, 2025
4acfa51
Refactor feedback display logic in HomeAuth component to check for fe…
Level237 Mar 18, 2025
47c9aab
Switch base URLs in baseQuery and baseQueryNotAuth services to produc…
Level237 Mar 18, 2025
c627e88
Switch base URLs in baseQuery and baseQueryNotAuth services to local …
Level237 Mar 31, 2025
7cb2d19
Update recharts dependency in package.json to version 2.15.4
Level237 Jul 7, 2025
93288ac
Refactor baseQuery services to improve URL handling for development a…
Level237 Jul 11, 2025
4c51459
Switch base URLs in baseQuery and baseQueryNotAuth services back to p…
Level237 Jul 11, 2025
6aa938d
Add sonner library for toast notifications and replace alerts with to…
Level237 Jul 11, 2025
e88d8f1
Enhance OrderDetailPage to support varied product orders by condition…
Level237 Jul 11, 2025
a5207cc
Update deploy-delivery workflow to specify .htaccess addition to Deli…
Level237 Jul 12, 2025
0011cbd
Refactor LoginForm component to enhance phone number input with count…
Level237 Aug 4, 2025
d623fef
Add meta tags to index.html for translation control and update main.t…
Level237 Aug 4, 2025
1cbea67
Refactor DeliveryRegisterPage to enhance phone number input with coun…
Level237 Aug 4, 2025
4875ba5
Update DeliveryCountdown component to adjust layout with responsive m…
Level237 Aug 4, 2025
639ad40
Update dependencies in package.json and pnpm-lock.yaml, and refactor …
Level237 Aug 6, 2025
7c50211
Add cancel order functionality to DeliveryCountdown component and aut…
Level237 Aug 6, 2025
bcfeed5
Refactor DeliveryCountdown component to remove unused loading state f…
Level237 Aug 6, 2025
504992b
Enhance OrderDetailPage to display additional order information, incl…
Level237 Aug 15, 2025
04b17cd
Refactor OrderDetailPage to implement getOrderItems function for impr…
Level237 Aug 15, 2025
226ffd9
Enhance HomeAuth and LoginForm components with improved UI and functi…
Level237 Sep 17, 2025
d240140
Remove city selection dropdown from HomeAuth component for a cleaner UI
Level237 Sep 17, 2025
ca69c97
Refactor DeliveryCountdown and OrderDetailPage components for improve…
Level237 Sep 17, 2025
e570f6f
fix: Update API base URL from `api-akevas.akevas.com` to `api.akevas.…
Level237 Jan 19, 2026
b8503c4
feat: Add `error-boundary` and `error-message` components.
Level237 Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/deploy-delivery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy to delivery.akevas.com

on:
push:
branches:
- delivery

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code Akevas
uses: actions/checkout@v3

- name: Install pnpm
run: npm install -g pnpm

- name: Install Dependancies
run: pnpm install

- name: Build App
run: pnpm run build

- name: Add .htaccess to Delivery dist/
run: |
echo 'Options -Indexes' > ./dist/.htaccess
echo 'RewriteEngine On' >> ./dist/.htaccess
echo 'RewriteCond %{REQUEST_FILENAME} !-f' >> ./dist/.htaccess
echo 'RewriteCond %{REQUEST_FILENAME} !-d' >> ./dist/.htaccess
echo 'RewriteRule ^ index.html [QSA,L]' >> ./dist/.htaccess

- name: Deploy via FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ftp.viens-yamo.com
username: akevasftp@akevas.com
password: jMylEA6+(oHD
local-dir: ./dist/
server-dir: /delivery/
96 changes: 57 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,77 @@
# Akevas: Online Marketplace
## Akevas - Become a Delivery Driver: Driver's Guide

## Overview
![image](https://github.com/user-attachments/assets/a2025e67-e20c-4683-a79e-4ffbba3f01c4)

Welcome to Akevas, a dynamic online marketplace built with React.js! Akevas serves as a platform for various online shops, facilitating easy navigation and encouraging seamless transactions between buyers and sellers. Our mission is to create a user-friendly shopping experience while providing shop owners with the tools they need to manage their stores effectively.
**Welcome to Akevas!** This guide explains step-by-step how to become a delivery driver on our platform and start earning money.

![image](https://github.com/user-attachments/assets/3b8ae905-ad63-4476-94bb-3348e967ac17)
**Requirements:**

* **Age:** Be at least 18 years old.
* **Driver's License:** Possess a valid driver's license (if delivering by car or scooter).
* **Vehicle:** Have a vehicle in good working condition (car, scooter, bicycle, depending on the options available in your region).
* **Smartphone:** Own a smartphone with a data plan.
* **Criminal Record:** Not have a criminal record incompatible with the provision of delivery services (verification carried out by Akevas).
* **Documents:** Provide the required documents (see list below).

## Features
**Steps to Become an Akevas Delivery Driver:**

- **User-Friendly Interface**: A visually appealing and intuitive design that enhances the shopping experience.
- **Shop Management Tools**: A comprehensive dashboard for shop owners to manage products, track sales, and analyze performance.
- **Search and Filter Options**: Advanced search features that allow users to find products quickly and easily.
- **Secure Payment Integration**: Support for various payment gateways to ensure secure and reliable transactions.
- **Responsive Design**: An adaptable user interface that works seamlessly on both desktop and mobile devices.
- **Customer Reviews and Ratings**: Features that allow buyers to leave feedback on products to help inform future customers.
**1. Registration:**

## Installation
* **Download the "Akevas Driver" app** available on the App Store (iOS) or Google Play Store (Android).
* **Open the app and click on "Become a Driver".**
* **Fill out the registration form** with your personal information:
* Full name
* Email address
* Phone number
* Password
* Vehicle information (type, make, model, registration number)
* Desired delivery area
* **Read and accept Akevas's Terms and Conditions (T&Cs) and Privacy Policy.**

1. Clone the repository:
```bash
git clone https://github.com/yourusername/akevas.git
```
**2. Document Submission:**

2. Navigate to the project directory:
```bash
cd akevas
```
* **Upload the following documents directly via the app:**
* **Identification Document:** Identity card or passport (front and back).
* **Driver's License:** (front and back) if using a car or scooter.
* **Vehicle Registration Document:** (if using a car or scooter).
* **Vehicle Insurance Certificate:** (if using a car or scooter).
* **Proof of Address:** (less than 3 months old).
* **Bank Details (RIB - Relevé d'Identité Bancaire):** For the payment of your earnings.
* **Ensure that the documents are clear, legible and complete.** Illegible or incomplete documents may delay your registration.

3. Install the dependencies:
```bash
npm install
```
**3. Verification and Training:**

4. Start the development server:
```bash
npm start
```
* **Akevas will verify the information and documents you have provided.** This process may take a few days.
* **Once your registration is approved, you will be invited to complete mandatory online training.** This training will explain:
* How the Driver app works.
* Road safety rules.
* Best delivery practices.
* Order and payment management.
* Akevas customer service.

Your application will be running on `http://localhost:3000`.
**4. Account Activation:**

## Usage
* **After successfully completing the training, your Driver account will be activated.**
* **You will receive a notification by email and in the app confirming the activation.**

Once installed, you can register as a shop owner or a customer to start exploring the marketplace. Browse various online shops, manage your store, or shop for your favorite products with ease!
**5. Start Delivering!**

## License
* **Log in to the "Akevas Driver" app.**
* **Set your availability and delivery area.**
* **Accept orders and follow the app's instructions to complete deliveries.**
* **Ensure that you meet delivery deadlines and provide excellent customer service.**

This project is licensed under a private license. For more details regarding the terms of use, please refer to the LICENSE file in the repository.
**Important Tips:**

## Contributing
* **Safety:** Always prioritize your safety and respect traffic laws.
* **Communication:** Communicate clearly with customers and restaurants in case of problems.
* **Customer Service:** Be courteous, professional, and responsive to customer requests.
* **Vehicle Maintenance:** Make sure your vehicle is in good working condition.
* **Optimization:** Learn to optimize your routes to maximize your earnings.
* **Application:** Familiarize yourself with all the features of the Driver app.

We welcome contributions to Akevas! If you're interested in helping improve the project, please fork the repository and submit a pull request. Before contributing, please make sure to discuss your ideas with the team.
**Support:**

## Contact
* For any questions or assistance, consult the "Help" section of the Driver app or contact Akevas support by email at [support email address] or by phone at [support phone number].

For any inquiries or support, please contact our developper at bramslevel129@gmail.com

Thank you for being a part of Akevas! Happy shopping and selling!
**We are delighted to welcome you to the Akevas Delivery Driver community!**
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="google" content="notranslate" />
<title>Akevas : Marketplace des boutiques en ligne</title>
</head>
<body>
Expand Down
Loading
Loading