Documentation

Introduction

Getting Started

We hope you find this source code useful! In this page we'll cover the below installation details.

  1. Food App
  2. Food App Backend


Instructions

We'll cover the installation of Android Studio , Configuration of app , Database Installation and Connection.


Food App

Development Setup

  1. Install Android Studio , If you already install Android Studio then move to next instructions.


Import Food App Project

  1. After successfully installation of android studio then you have to Import project in Android Studio.
  2. After successfully importing the project , you can further configure it with other necessary things.


Set SDK Path

  1. To run project we need to set android studio sdk path in out project.

Follow the below steps.

  1. Food->android->local.properties
  2. Update the sdk.dir to android sdk path .

eg.

C\:\\Users\\username\\AppData\\Local\\Android\\Sdk


Change Food App Package Name

  1. You have to change your package name because it's your app identifier.
  2. It must be unique because same package name didn't accepted by Play store.

Follow the below steps.

  1. Food->android->app->build.gradle
  2. Update the applicationId to your package name and sync gradle to update your package name.

eg.

com.appname


Change Food App Name

  1. Before uploading app , you must have to change app name.
  2. You can choose app name by your wish.

Follow the below steps.

  1. Food->android->app->src->main->res->values->strings.xml
  2. Change the app name by your own wish.


Change Food App Icon

  1. Before uploading app , you must have to change app icon.
  2. You can choose app icon by your wish.


Set Food App Backend API Path

  1. You have to upload your food app backend to cpanel so that you would connect to your app.

Follow the below steps.

  1. Food->constants->service.js
  2. update url and img_url to your server path.

eg.

const url= "https://mydomain.com/food/api.php?method_name=";

const img_url = "https://mydomain.com/food/";

Note - food is folder name in which our food app backend source code is uploaded. You need to change folder name if your folder name is different.


Set Food App Splash Screen

  1. You can give customize splash screen to app.

Follow the below steps.

  1. Food->assets->splash->splash.json
  2. You can replace your customize animation json file or can download from below url and customize according to your need.

https://lottiefiles.com/featured




Food App Backend

Upload Project

  1. You have to upload your backend project to cpanel so that you would connect with your app.
  2. you can also use below url.

URL: https://www.hostgator.com/help/article/how-to-upload-a-file-using-the-file-manager


My SQL Database Install

  1. First of all , you have to create database and it's user .
  2. Must copy the username , dbname & password from the instructions, we would use them for connection with code.


My SQL Database Connection

  1. After successfully database installation we need to config in our connection file.

Follow the below steps.

  1. Food->connection.php
  2. Update username, password ,database name which we have created above.