Original repository: https://github.com/MelvinCou/cash-manager
This part of the project is organized as modules, that can be launch independently
- Go the
Server
folder
cd Server
- Load the dependencies and create the jar files that represents each module
mvn clean install
- if the module contains a compose.yaml file, copy the
.env.local.exemple
file to.env.local
in theServer
folder and fill it with the correct data. Also edit the filesrc/resources/application.properties
of the module.
cp .env.local.exemple .env.local
Note
Don't forget to launch your docker engine if it's not already running
- Run a particular module
mvn --projects :[module] spring-boot:run
To manage the microservices of the application, you need to first launch the module eureka_server (see the command above). Then launch the module api_gateway and the module mediator. You can have access to the Dashboard of the eureka_server at http://localhost:8761. You will see all the microservices.
You can access the documentation of each endpoints after launching at this address : http://<localhost:service port>/swagger-ui/index.html#. This page also allow you to try the different endpoints of the concerned service.
Terminal of cash manager project.
Follow installation steps of flutter.
-
Get the project dependencies If your not already in the terminal folder :
cd terminal
Then :
flutter pub get
- run the project
In the root of the project do
docker compose up
This will build your apk in terminal/build/app/outputs/flutter-apk
.
Flutter allow bulding apk in 2 different ways. One is a fat APK that contains your code compiled for all the target ABIs(armeabi-v7a (ARM 32-bit), arm64-v8a (ARM 64-bit), and x86-64 (x86 64-bit)). The other split the APK for each target. For this project we will build a fat APK.
- arm64: This refers to ARM 64-bit, which is used by many modern Android devices.
- x86: This refers to x86 32-bit, which is used by some older Android devices and emulators.
- armeabi: This refers to ARM 32-bit, which is used by some older Android devices