Info
Food Order depends on backend in php 5 and above and mysql for web services
and firebase cloud messaging for notifications for
receiving orders from clients in restaurant manager app
or sending the updated order status from restaurant manager to the client .
1 – extract Food_Order_Android.zip and Open the extracted folder
by Open An Existing Android Studio Project .
in package omar.apps923.food_order.helper , edit base_url_server variable
in file “WebServices” to be your ip
2 – edit ndk path by : in Android Studio go to File / Project Structure /
SDK Location / Android NDK Location
note : NDK is just used by Android Asynchronous Networking and Image Loading “ion”
3 – in local host or online
extract Food_Order_Php.zip and upload the extracted folder “food_order”
online on your host server or on your local host like xampp
4 – create database food_order with collation utf8_general_ci and import
databse from file”food_order.sql” in sql folder
5 – for recovering your forgotten password , we send email
from certain email you specify to the user hwo forgets the password
you can specify this email by replacing
[email protected] and yourpassword
in file
“sendPHPMail.php”
in rest_api/utilities folder to be what you want
6 – if you want to use your own firebase account , register on firebase console
and follow this link
https://firebase.google.com/do…
and edit value of
API_ACCESS_KEY in file
“firebaseNotification.php”
in rest_api/utilities folder to be the one that is in your own firebase in
Overview / Project settings / CLOUD MESSAING / server key
7 – for login as admin of the restaurant
use :
email : [email protected]
password : restaurant
you can change them from profile screen