Skip to content

Latest commit

 

History

History
69 lines (67 loc) · 2.39 KB

README.md

File metadata and controls

69 lines (67 loc) · 2.39 KB

Talabat-Lite

Talabat-Lite is a server-client application for android. It facilitates food, goods or medicines delivery and other services, connecting customers with local vendors and managing delivery personnel.

At client/app/src/main/java/com/kaaa/talabat_lite/globals.java You need to set the serverIp :

public static String serverURL = "http://192.168.1.11:8080";

Server side

The server is written in C++ communicating with client over HTTP using crow (microframework for the web, uses routing similar to Python's Flask).
For database it uses SQLite C/C++ interface.

Dependencies

make or cmake
gcc
sqlite
crow

Build and run

# To build and run the server on a Linux system :

# Build using Make
make
./server
# Build and delete the database
make clean

# Build using CMake
cmake -B build
cd build
make
./server

Screenshots

screenshots

Features

For Merchant:

Registration:

  • Information useful for his branding like name, keywords, profile image and rating.
  • Information useful for managing delivery personnel like pick-up address.

Functionality:

  • Add new items with information like (name, description, price and image).
  • Remove added items.
  • Edit his profile information (pick-up address and profile image).
  • Search for his items.
  • View active orders, accept them to be sent to active orders at every courier
    account.

For Customer:

Registration:

  • Information useful for delivery like delivery address and phone number.
  • Information useful for his profile like name and profile image.

Functionality:

  • View merchant categories at home and the 3 top rated merchants of his city.
  • Search for all merchants.
  • View cart activity
  • Update item quantity or remove them from cart.
  • View orders
  • View & edit profile information

For Courier:

Registration:

  • Information like vehicle type, phone number and national id.
  • Card information to get his earnings.

Functionality:

  • View all active orders from merchants of same city.
  • View order details.
  • Accept orders.

Security Warnings

  • There is no Encryption for sensitive data like passwords, card number, ...
  • There is no protection from SQL Injection attacks.
  • No protection from DDoS attacks.