📘 English Version
This document is the English version of the original project README.
Looking for the Portuguese version? Click here 🇵🇹
MigrantMatcher is an application designed to facilitate and streamline humanitarian aid for migrants in emergency situations such as war, natural disasters, or social crises. The application allows volunteers to offer help (in the form of housing or goods), and enables migrants to easily locate and request available assistance.
- Francisco Henriques - FC56348
- Manuel Cardoso - FC56274
To launch the application, simply run the Main.java class and follow the instructions displayed in the terminal.
-
The
input.txtfile is already prepared with:- 3 help offers
- 3 help requests
-
When the script is executed, the application will automatically scan the
input.txtfile, which must follow the structured command format below:
-volunteer
-999999999 // Volunteer’s phone number
-(type of help)
-(number of people it hosts OR item description)
-(region)
-yes // Confirm donation
-123456 // Confirmation code
-no // End operation
-migrant
-(phone number)
-(name)
-(region you’re moving to)
-(type of sorting: type or date)
-0 // Select help
-no // Don’t add more help
-yes // Confirm reservation
-no // End operation
- The result of the script execution will be written to the
output.txtfile.
Allows volunteers to offer accommodations or items to migrants.
Steps:
- The volunteer identifies themselves using their phone number.
- Chooses the type of help (accommodation or item).
- If accommodation: indicates the number of people it can host and the region.
- If item: provides a description of the item and the region.
- The system sends a confirmation code via SMS.
- The volunteer enters the code and confirms the offer.
Allows migrants to search for and reserve available assistance.
Steps:
- Migrant can register individually or with a family.
- Provides name and phone number (or head of household + members).
- Chooses the region they plan to move to.
- Views the list of available help (sorted by type or date).
- Selects the desired help.
- Confirms the reservation.
- The system notifies the corresponding volunteers via SMS.
- If there’s no help available in the chosen region, the system notifies the user.
- The migrant can choose to be notified when help becomes available in that region.