MelvinCou / cash-manager

0 stars 0 forks source link

Cash-Manager

Original repository: https://github.com/MelvinCou/cash-manager

Initialization of the back project (Server)

This part of the project is organized as modules, that can be launch independently

Launch one module

  1. Go the Server folder
cd Server
  1. Load the dependencies and create the jar files that represents each module
mvn clean install
  1. if the module contains a compose.yaml file, copy the .env.local.exemple file to .env.local in the Server folder and fill it with the correct data. Also edit the file src/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

  1. Run a particular module
mvn --projects :[module] spring-boot:run 

Use of API_GATEWAY and EUREKA_SERVER and MEDIATOR

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.

For the endpoints documentation

You can access the documentation of each endpoints after launching at this address : http:///swagger-ui/index.html#. This page also allow you to try the different endpoints of the concerned service.

terminal

Terminal of cash manager project.

Wireframes

Application pages

Getting Started

Follow installation steps of flutter.

  1. Set up editor

  2. Get the project dependencies If your not already in the terminal folder :

cd terminal

Then :

flutter pub get
  1. run the project

Build APK

In the root of the project do

docker compose up

This will build your apk in terminal/build/app/outputs/flutter-apk.

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.