Skip to content
Sample app demonstrating usage of Flutter Framework to Create Android & IOS App Using Rest API Created In PHP
Dart PHP Objective-C Java
Branch: master
Clone or download

README.md

Flutter Client PHP Backend

App Demonstrating the use of Flutter and PHP.

Built With

  • Flutter - Cross Platform App Development Framework

Screenshots

Splash Home Login Registration Change Password

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';

Not Interested in doing above steps just clone this repo and use it as it is already hosted on Free Web Host 000webhost hafinse

Features 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.

Its Android CounterPart Click Here

If you are aware of Postman you can use Postman Collection for Rest API used in this repo

Helping Hands for this project

❤️ 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.

Last But not Least

There are still some things which are pending in this project make a pull request to improve this project or suggest an idea to improve this project further by raising issues.

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.
You can’t perform that action at this time.