Flutter Client PHP Backend
App Demonstrating the use of Flutter and PHP.
- App Logo Created Using Logo Maker
- For Hosting used 000webhost
Built With
- Flutter - Cross Platform App Development Framework
Screenshots
How to use this App.
-
Host the sample included inside phpbackend on preffered web hosting
-
Create a table inside your database using FlutterClientPhpBackend.sql
-
If you are using your own website just edit the following constant inside constants.dart
static const String API_BASE_URL = "https://hafinse.000webhostapp.com";
-
Make sure to edit DBOperations.php and change following things -
private $host = 'your_host'; private $user = 'your_user_name'; private $db = 'your_database'; private $pass = 'your_password';
hafinse
Not Interested in doing above steps just clone this repo and use it as it is already hosted on Free Web Host 000webhostFeatures Implemented
- Splash
- Login
- Registration
- Change Password
Things you can learn through this project -
- Navigation Between Pages.
- Performing Operations in Background Thread.
- Network Requests.
- Serializing and DesSerializing JSON.
- Dialogs and SnackBar.
- Custom Progress Dialog.
- Rest API Integration.
- Store and Retrieve values from Shared Preference.
Spread Some ❤️
Check out the repo make a pull request, raise issues and give a star if it's helpful.
Click Here
Its Android CounterPartPostman you can use Postman Collection for Rest API used in this repo
If you are aware ofHelping Hands for this project
- https://flutter.io/
- https://pub.dartlang.org/packages/flutter_launcher_icons
- https://pub.dartlang.org/packages/shared_preferences
- https://pub.dartlang.org/packages/http
- https://pub.dartlang.org/packages/json_serializable
- https://flutter.io/json/#creating-model-classes-the-json_serializable-way
- https://flutter.io/json/
- https://flutter.io/cookbook/networking/fetch-data/
- https://flutter.io/cookbook/
❤️ Found this project useful?
If you found this project useful, then please consider giving it a ⭐ on Github and sharing it with your friends via social media.
Project Maintained By
Harsh Sharma
Android Developer
License
Copyright 2018 Harsh Sharma
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.