Flutter based frontend to Moqui for early adopters

Hi Community,

The open source Flutter ERP system GrowERP is now available in production. It is using Moqui as the back end in a multi company configuration .

We have currently 2 applications available for early access:

  1. Administration
    This is the general basic ERP application showing all basic functions like employee/user/company-, CRM, product-,order management, warehouse, e-commerce and accounting.
    The same application is available on the following platforms:
    * Browser: https://admin.growerp.com
    * Google Android: Play Store
    * Apple IOS: App Store
  2. Hotel
    This is the first specialized application where the functions of administrator are adapted and have a room registration and availability management added as the main menu.
    Also this app is available on the 3 platforms:
    * Browser: https://hotel.growerp.com
    * Google Android: Play Store
    * Apple IOS: App Store

Everything in a easy to use system, available as open source using Flutter as the front end and Moqui as the backend. All together in a single repository at the GitHub platform for evaluation, issue reporting and contributions.

If you like to be informed about the system both from an end-user and technical implementation point of view subscribe to our weekly mailnglist
General website at: https://www.growerp.com

Comments are always welcome and can be sent to support@growerp.com

3 Likes

Thanks for sharing. It’s interesting to see what people do with Moqui.

Thanks for sharing Hans. Love how you’ve simplified the ERP.

1 Like

Hi Hans,

Thanks for the thread. I just started exploring GrowErp including my initial stint with moqui.
Even though I have been running chat server and the backend moqui as per documentation but I am struggling with how to run the flutter FE locally on a mac. Do you have any steps how to run it locally for devices and for browser?
I want to check both the FE’s for iOS and Android as I want to check if it’s satisfies my requirement of running it on a server for my eComm site.Can you guide me how to run it locally?

Hi thanks for your interest in the system.

The flutter is pretty standard, but of course need flutter to be installed first as documented: macOS | Flutter

to build the flutter frontend you need pre-processing first:

cd flutter/packages/admin
dart pub global activate melos 3.4.0
export PATH="$PATH":"$HOME/.pub-cache/bin"
melos clean
melos bootstrap
# localization
melos l10n --no-select
# build
melos build --no-select
flutter run

if you have any further questions please let me know.
Regards,
Hans

Thanks Hans, your pointers really helped me get unblocked.
I had already installed Flutter on my mac but I was not able to figure out how to run the Flutter UI locally.
I can now run the app smoothly.
I want to test the ERP and mobile apps (both Android, iOS) for eComm customers.
Is there any documentation following which I can run the mobile apps also locally using emulator?
Thanks,

running the emulator is all explained on the flutter website

specific for the mac at: Get Started: Install on macOS - Flutter

regards,
Hans

What are the user logins for admin.growerp.com and hotel.growerp.com?
I would like to have a look.
Thanks.

1 Like

It is a multi company SAAS application with its own data per company.
you can create a new company, with an administrator user and the system will send you a password by email. With that password you can login both applications because they are frontends to the same backend Moqui system

if you need more help, let me know!

regards
Hans Bakker
support@growerp.com

2 Likes

Hi Hans,
Sorry for coming so late to this thread again.
I found there is a limitation in the Flutter FE.
I will elaborate the use-case.
If a Client has a need to set-up hierarchy of Categories before final Product set-up, then this is not possible currently with flutter FE.
For eg: Say a Client sells Hardware items and we have to set-up something like:
[Home] / [Bath] / [Bathroom Faucets] / Shower Faucets
where all the different brands of Faucets are to be set-up then its not possible.
Not sure if this is done by design or it’s a limitation in Growerp flutter currently but it was possible in Moqui Admin and Apache OfBiz Admin login directly.
Let me know your inputs on this.
In short I want to have a site which is in likes of HomeDepot or Lowe’s Online portal in terms of Category complexity.

Any ideas how I can do it with Growerp Flutter FE.?
Thanks,
Manjit

Since the flutter front-end is meant to be for small companies I just implemented a single level category list. It sure is possible to create a multilevel organization relatively easy because the Moqui back-end already can accommodate for that.

If you have a customer using this, we sure can implement that for you.

Regards.
Hans

Thanks Hans for the quick response.
The Customer has absolutely no set-up, all being done manually with hours and hours of effort wasted by employees.So something like multi level Category set-up will definitely help all in the long run.
Due to acquaintance they have approached us to try, if we can do something for them.
Java has been my playground for years but Flutter am a complete novice.

Details: Java 11, Gradle 7.4, Android Studio: Android Studio Ladybug | 2024.2.1 Patch 2
Again while trying to play with device UI’s running locally on mac am facing a frustrating issue which I have not able to crack yet.Here it goes, any clues:

*jeet@ellies-mbp admin % flutter run
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode…

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not open cp_settings generic class cache for settings file β€˜/Users/jeet/Personal/code/growerp/flutter/packages/admin/android/settings.gradle’ (/Users/jeet/.gradle/caches/7.4/scripts/o693wx0mmmdlgcz75pnesppc).

BUG! exception in phase β€˜semantic analysis’ in source unit β€˜BuildScript’ Unsupported class file major version 65

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 1s
Running Gradle task β€˜assembleDebug’… 1,702ms

β”Œβ”€ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
β”‚ [!] Your project’s Gradle version is incompatible with the Java version that Flutter is using for Gradle. β”‚ β”‚
β”‚ If you recently upgraded Android Studio, consult the migration guide at Android Java Gradle migration guide | Flutter. β”‚ β”‚
β”‚ Otherwise, to fix this issue, first, check the Java version used by Flutter by running flutter doctor --verbose. β”‚
β”‚ β”‚
β”‚ Then, update the Gradle version specified in /Users/jeet/Personal/code/growerp/flutter/packages/admin/android/gradle/wrapper/gradle-wrapper.properties to be compatible with that Java version. See the link below for more information on β”‚
β”‚ compatible Java/Gradle versions: β”‚
β”‚ Compatibility Matrix β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Error: Gradle task assembleDebug failed with exit code 1*

This is pretty difficult to tell you what is wrong, i have sent you a direct message in order not to put too much burden on the Moqui community.

Regards,
Hans