Food-Ordering Android App Android Studio APIs|LogIn|SignUp|HomePage|Menu|RecyclerView|Cart|Payment|Confirmation|SplashScreen|Notification|BillHistory|
WAMP-- Windows, Apache, MySQL, PHP
APK is the Release section
Screenshots of the App:
The App is based on WAMP local server so, to see the full execution of the app you have to first do following things:
- Download WAMP server and install it on your PC. Clone the repo.
- Go to the file of WAMP(wamp64) and, then to the 'www' folder located inside it. Generally- C:\wamp64\www
- Copy the folder 'FoodAppPhp' from the code section of this repo, and paste it in the 'www' folder. Now the PHP(APIs) setup is complete.
- Find the 'foodappdb.sql' from code section of this repo.
- Run the WAMP app then, go to a browser and type 'http://localhost/phpmyadmin/' in URL, and hit enter.
- The phpmyadmin login page will appear, username is 'root' and password is blank i.e. nothing, select the server option as 'MySql', then hit 'Go'.
- Phpmyadmin index page will appear, click on 'Import' and then click on 'Choose File' option, select the 'foodappdb.sql' and then hit 'Go'. Now the database setup is complete.
- Overall Local Server is setup. Now, install the App from the APK. Ensure that WAMP server is running properly.
- Now, in the right side of the taskbar, WAMP symbol will appear. Left click on it, then go to 'Apache' and then open 'httpd-vhost.conf'.
- Replace 'Require Local' to 'Require all granted'. Restart the WAMP app.
- Ensure the mobile, that has the app installed, and the PC, that has the local server setup, are connected to the same WIFI.
- If you are opening the app for the first time on a specific mobile device, there will be a prompt asking you for the IPv4 Address of the WLAN connected to the WAMP server.
- IPv4 Address of the WLAN can be obtained by using the command 'ipconfig' in the CMD.
- The prompt will come on automatically after the splash screen. And you can manually call the prompt by using various 'Change IP' buttons present in the app.
- Ensure you give proper IPv4 Address, otherwise the app will not be able to properly contact server and will give you error.
- Now, you can launch the app, and see its execution.