|
1 |
| -# flutter_client_php_backend |
| 1 | +# Flutter Client PHP Backend |
2 | 2 |
|
3 |
| -**App Demonstrating the use of Flutter and PHP.** |
| 3 | +## App Demonstrating the use of Flutter and PHP. |
4 | 4 |
|
5 |
| ->- App Logo Created Using [Logo Maker](http://logomakr.com) |
6 |
| ->- For Hosting used [Hostinger](https://www.hostinger.in/) |
| 5 | +* App Logo Created Using [Logo Maker](http://logomakr.com) |
| 6 | +* For Hosting used [Hostinger](https://www.hostinger.in/) |
7 | 7 |
|
| 8 | +## Built With |
8 | 9 |
|
9 |
| -**How to use this App.** |
10 |
| ->- Host the sample included inside [phpbackend](https://github.com/harsh159357/flutter_client_php_backend/tree/master/phpbackend) on preffered web hosting |
11 |
| ->- Create a table inside your database using [FlutterClientPhpBackend.sql](https://github.com/harsh159357/flutter_client_php_backend/blob/master/phpbackend/FlutterClientPhpBackend.sql) |
12 |
| ->- If you are using your own website just edit the following constant inside [constants.dart](https://github.com/harsh159357/flutter_client_php_backend/blob/master/lib/utils/constants.dart) |
| 10 | +* [Flutter](https://flutter.io) - Cross Platform App Development Framework |
| 11 | + |
| 12 | +## Screenshots |
| 13 | + |
| 14 | +<div id="images" style="#images { |
| 15 | + white-space: nowrap; |
| 16 | +}"> |
| 17 | +<img src="screenshots/Splash.png" alt="Splash" width="150" height="250"> |
| 18 | +<img src="screenshots/Home.png" alt="Home" width="150" height="250"> |
| 19 | +<img src="screenshots/Login.png" alt="Login" width="150" height="250"> |
| 20 | +<img src="screenshots/Registration.png" alt="Registration" width="150" height="250"> |
| 21 | +<img src="screenshots/Change_Password.png" alt="Change Password" width="150" height="250"> |
| 22 | +</div> |
| 23 | +<br/> |
| 24 | + |
| 25 | +## How to use this App. |
| 26 | +* Host the sample included inside [phpbackend](https://github.com/harsh159357/flutter_client_php_backend/tree/master/phpbackend) on preffered web hosting |
| 27 | +* Create a table inside your database using [FlutterClientPhpBackend.sql](https://github.com/harsh159357/flutter_client_php_backend/blob/master/phpbackend/FlutterClientPhpBackend.sql) |
| 28 | +* If you are using your own website just edit the following constant inside [constants.dart](https://github.com/harsh159357/flutter_client_php_backend/blob/master/lib/utils/constants.dart) |
13 | 29 |
|
14 | 30 | static const String API_BASE_URL = "http://hafinse.pe.hu";
|
15 | 31 |
|
16 |
| ->- Make sure to edit [DBOperations.php](https://github.com/harsh159357/flutter_client_php_backend/blob/master/phpbackend/DBOperations.php) and change following things - |
| 32 | +* Make sure to edit [DBOperations.php](https://github.com/harsh159357/flutter_client_php_backend/blob/master/phpbackend/DBOperations.php) and change following things - |
17 | 33 |
|
18 | 34 | private $host = 'your_host';
|
19 | 35 | private $user = 'your_user_name';
|
20 | 36 | private $db = 'your_database';
|
21 | 37 | private $pass = 'your_password';
|
22 |
| ->- Not Interested in doing above steps just clone this repo and use it as it is already hosted on Free Web Host Hostinger [hafinse](https://hafinse.pe.hu) |
23 | 38 |
|
| 39 | +## Not Interested in doing above steps just clone this repo and use it as it is already hosted on Free Web Host Hostinger [hafinse](https://hafinse.pe.hu) |
24 | 40 |
|
25 |
| -**Things Implemented** |
26 |
| ->- Splash |
27 |
| ->- Login |
28 |
| ->- Registration |
29 |
| ->- Change Password |
30 | 41 |
|
| 42 | +## Things Implemented |
| 43 | +* Splash |
| 44 | +* Login |
| 45 | +* Registration |
| 46 | +* Change Password |
31 | 47 |
|
32 |
| -**Screenshots** |
| 48 | +## Things you will get learn through this project - |
| 49 | +* Navigation Between Pages. |
| 50 | +* Performing Operations in Background Thread. |
| 51 | +* Network Requests. |
| 52 | +* Serializing and DesSerializing JSON. |
| 53 | +* Dialogs and SnackBar. |
| 54 | +* Custom Progress Dialog. |
| 55 | +* Rest API Integration. |
| 56 | +* Store and Retrieve values from Shared Preference. |
33 | 57 |
|
34 |
| -<div id="images" style="#images { |
35 |
| - white-space: nowrap; |
36 |
| -}"> |
37 |
| -<img src="screenshots/Splash.png" alt="Splash" width="150" height="250"> |
38 |
| -<img src="screenshots/Home.png" alt="Home" width="150" height="250"> |
39 |
| -<img src="screenshots/Login.png" alt="Login" width="150" height="250"> |
40 |
| -<img src="screenshots/Registration.png" alt="Registration" width="150" height="250"> |
41 |
| -<img src="screenshots/Change_Password.png" alt="Change Password" width="150" height="250"> |
42 |
| -</div> |
43 |
| -<br/> |
| 58 | +#### Spread Some :heart: |
| 59 | + |
| 60 | +[](https://github.com/harsh159357/flutter_client_php_backend) [](https://github.com/harsh159357/flutter_client_php_backend/fork) [](https://github.com/harsh159357/flutter_client_php_backend)[](https://github.com/harsh159357/) |
| 61 | + |
| 62 | +[](https://opensource.org/licenses/Apache-2.0) |
| 63 | +[](https://github.com/harsh159357/flutter_client_php_backend/blob/master/License.txt) |
| 64 | + |
| 65 | +Check out the repo make a pull request, raise issues and give a star if it's helpful. |
| 66 | + |
| 67 | +## Its Android CounterPart [Click Here](https://github.com/harsh159357/android_client_php_backend) |
| 68 | + |
| 69 | +## If you are aware of [Postman](https://www.getpostman.com/) you can use [Postman Collection](https://www.getpostman.com/collections/80394d2fc7c2aed05cc5) for Rest API used in this repo |
| 70 | + |
| 71 | +## Helping Hands for this project |
| 72 | + |
| 73 | +* https://flutter.io/ |
| 74 | +* https://pub.dartlang.org/packages/flutter_launcher_icons |
| 75 | +* https://pub.dartlang.org/packages/shared_preferences |
| 76 | +* https://pub.dartlang.org/packages/http |
| 77 | +* https://pub.dartlang.org/packages/json_serializable |
| 78 | +* https://flutter.io/json/#creating-model-classes-the-json_serializable-way |
| 79 | +* https://flutter.io/json/ |
| 80 | +* https://flutter.io/cookbook/networking/fetch-data/ |
| 81 | +* https://flutter.io/cookbook/ |
| 82 | + |
| 83 | + |
| 84 | +### :heart: Found this project useful? |
| 85 | +If you found this project useful, then please consider giving it a :star: on Github and sharing it with your friends via social media. |
| 86 | + |
| 87 | +## Project Maintained By |
| 88 | + |
| 89 | +### Harsh Sharma |
44 | 90 |
|
45 |
| -**Its Android CounterPart [Click Here](https://github.com/harsh159357/android_client_php_backend)** |
| 91 | +Android Developer |
46 | 92 |
|
47 |
| -**If you are aware of [Postman](https://www.getpostman.com/) you can use [Postman Collection](https://www.getpostman.com/collections/80394d2fc7c2aed05cc5) for Rest API used in this repo** |
| 93 | +<a href="https://stackoverflow.com/users/5159205/harsh-sharma"><img src="https://github.com/aritraroy/social-icons/blob/master/stackoverflow-icon.png?raw=true" width="60"></a> |
| 94 | +<a href="https://www.linkedin.com/in/harsh159357/"><img src="https://github.com/aritraroy/social-icons/blob/master/linkedin-icon.png?raw=true" width="60"></a> |
| 95 | +<a href="https://www.facebook.com/HARSH159357"><img src="https://github.com/aritraroy/social-icons/blob/master/facebook-icon.png?raw=true" width="60"></a> |
48 | 96 |
|
49 | 97 | License
|
50 | 98 | -------
|
|
0 commit comments