This app includes features for invoice generation, client management, and route tracking, designed for ease of use.
git clone https://github.com/sasankadeshapriya/order-processing-app-flutter.git
cd order-processing-app-flutterflutter pub getTo use Google Maps services, add your API key directly to the AndroidManifest.xml file.
-
Open the file
android/app/src/main/AndroidManifest.xml. -
Inside the
<application>tag, add the following metadata:<meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR_GOOGLE_MAPS_API_KEY"/>
Replace
YOUR_GOOGLE_MAPS_API_KEYwith your actual API key obtained from the Google Cloud Console.
If you have any other API keys or environment-specific configurations, you can manage them in the .env file.
-
Create a
.envfile in the root directory of the project (based on the.env.exampleprovided). -
Example contents of the
.envfile:# .env file for Flutter project # Google Maps API Key GOOGLE_MAPS_API_KEY=YOUR_GOOGLE_MAPS_API_KEY # Base URL for API calls BASE_URL=https://api.gsutil.xyz
-
Important: Do not commit the
.envfile to version control. Make sure to add it to.gitignore.
flutter runTo fully set up the system, you may need to clone and set up the backend repositories:
git clone https://github.com/sasankadeshapriya/order-processing-backend-laravel.git
git clone https://github.com/sasankadeshapriya/order-processing-api-nodejs.gitFollow the instructions provided in these repositories to set up the backend services.
- Security Considerations: Ensure that sensitive information such as API keys and secrets are securely managed and not exposed publicly.
- API Key Restrictions: Use the Google Cloud Console to restrict the usage of your API keys to specific apps and URLs.
