Thank you for purchasing our app
Please read the documentation carefully , and if you have any question check us . Most pages are accompanied by a video tutorial , it's recommended to check both , the video and the written Documentation .
Customers who host their files with hostrever.com will receive free support for life
Having a hosting platform that our support team is familiar with makes it easier for them to assist you
Installing Foodies PHP API is an easy process and we will guide you through it .
Step 1 - You have to upload the mobileapp_api files which we have provided in your downloaded package from codecanyon
Step 2 - Login in your hosting cpanel Navigate to File Manager , upload the mobileapp_api.zip , then extract it
Step 3 - For Database & 3rd party API configurations You have to edit constant.php file which is located at "mobileapp_api/app/Config/constant.php"
Step 1 - You have to import the SQL file which we have provided in your downloaded package from codecanyon
Step 2 - You have to edit constant.php file which is located at "mobileapp_api/app/Config/constant.php"
Fill the database details in "mobileapp_api/app/Config/constant.php"
define('DATABASE_USER', ''); define('DATABASE_PASSWORD', ''); define('DATABASE_NAME', '');
Step 1 - Sending Emails to Create an account here postmarkapp.com & Copy the server key
Fill the PostMark POSTMARK_SERVER_API_TOKEN & SUPPORT_EMAIL in "mobileapp_api/app/Config/constant.php"
//PostMark define('POSTMARK_SERVER_API_TOKEN', ''); define('SUPPORT_EMAIL', '');
Step 1 - you need to create your project first Console Firebase Google
Step 2 - You can find the API KEY in: (gear-next-to-project-name) > Project Settings > Cloud Messaging
Step 3 - You have to put firebase real time database url FIREBASE_URL example "https://freshly-abcd.firebaseio.com/"
Fill the Firebase push notification server key which google firebase has provided you in "mobileapp_api/app/Config/constant.php"
You have to change the database permissions
//Firebase define('FIREBASE_PUSH_NOTIFICATION_KEY', ''); define('FIREBASE_URL', '');
Step 1 - For getting payments you have to setup stripe follow screenshort
Fill the Stripe STRIPE_API_KE which twilio has provided you in "mobileapp_api/app/Config/constant.php"
//STRIPE define('STRIPE_API_KEY','');
Before getting started, please make sure your web server meets all the requirements:
*Note: you have to open your api url http://domain.com/grocery/
Step 1 - You have to upload the admin panel files which we have provided in your downloaded package from codecanyon
Step 2 - Login in your hosting cpanel Navigate to File Manager and Create a folder "admin" and upload the admin.zip files , then extract it
Step 3 - For API configuration You have to edit config.php file which is located at "admin/config.php"
Step 4 - You have to put your Domain URL here "http://domain.com/" if you have SSL then you have to use this "https://domain.com/"
Now open admin panel through your domain http://domain.com/admin and use login admin@admin.com and password is 123456
*Note: Make sure your SQL File has been imported & Database Connection successfully works
Open link on Web Brower: https://firebase.google.com/ then Open such Page and then Click on “Get Started”
Click on Add Project
Write down name of the project here and then click on Continue
Click on the continue
Check the inbox that are unchecked and click on Create project
Now project Created on Firebase
Now select your platform
Enter your iOS app bundle identifier, enter your App nickname and click on register
Now download your "GoogleServices-info.Plist"
Save this Info.plist after successfully created project, then drag & drop this Info.plist in your Xcode project
Click on Next
Click on Continue Console.
Select Realtime Database and click on Create Database
Click on Next
Select 'Start in test mode' and then click on Enable
Now select Realtime Database > Rules
Replace the whole code with this
{
"rules": {
".read": "true",
".write": "true"
}
}
Click on Publish
Now your configuration done with firebase
Open this url on your browser https://developers.facebook.com/ and click on MyApps
Click on Create App
Select the options Something else and Continue
Enter your App name and provide your Email and click on Create app
Select your platform
Just click on next
Open your Xcode and copy the bundle identifier and Paste their and Click on Save and press Continue
Open your Xcode and copy these code ( show on Point 2 and Point 6) and paste into Info.Plist
Open Xcode and at left side of your Xcode you will get file named Info.Plist
Right click on info plist such dialogue appear ,Select Open as -> Source code
Paste the copy code (Step 8) above < / dict >
Open Xcode, Select Info.Plist find Facebook Id and copy its Value
After copy the Facebook Id Value follow the shown Order in Screenshot find URL Schemes (there will two URL Schemes One of them is for Facebook Id and second one is for Google's REVERSED_CLIENT_ID So don't paste it on both places) and paste the Facebook Id Value there
Open this url on your browser
https://developers.google.com/identity/sign-in/ios/start-integrating
just scroll down main page and click on create an OauthID
click on create project
Write down the name of your project
Add the product name
Select platform
Select iOS
Copy project Bundle identifier and past here and click on create
Click on Download Client Configuration and save it and drag drop to project also copy Client ID
Open project and select GoogleServices-info.Plist
Select and Copy REVERSED_CLIENT_ID's Value under green line
After copy the ID Scroll Down and Find URL Schemes
And paste the ID in URL Schemes "In the circle"
Copy the REVERSED_CLIENT_ID's as shown in Step 11 and paste it in AppDelegate.swift in Xcode as shown in Screenshot under greenline
Follow the instructions for configurations
Click on App Name then write keys in filter
After that you will find the keys.swift as shown in screenshot, select that file
Now you can paste your API Key at Googl_API_Key as shown in Screenshot
Follow the instructions for configurations
Click on App name
Select Name from Identity and Type and write your Desired Name & press Enter
After that a popup view will show and ask for confirmation, press Rename
Then press Continue , and App Name Will change succesfuly
Click on AppName Select AppName from TARGETS and then Signing & Capabilities after that Change Bundle Identitier and Press enter
Just go there ApiHandler.swift file and Change BASE_URL with your URL and API_KEY with your API