Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 3.87 KB

DEVELOPER.md

File metadata and controls

63 lines (42 loc) · 3.87 KB

Microrealestate

Microrealestate is a set of microservices which work together to offer an open source application for property management.

This application draws its fundamentals from the monolithic application: Loca

overview

µService Description Status
Gateway Routes HTTP requests to the services (NGINX) Available
Frontend The web application Dev in progress
Authenticator Handles login/logout and tokens management Available
EMailer Generates and sends emails with mailgun Available
API Exposes UI API and core engine Available
PDFGenerator Generates PDF documents (letters, contracts, invoices...) Available
Messages message broker Not available
Alert Sends alert messages based on business rules (contract deadlines, unpaid rents...) Not available
Text Generates and texts (cash balance, alerts...) Not available

Debugging the application

Prerequisite

  • Docker and docker-compose installed

The mre bash script is uses for building, running the application. If running on Windows use mre.ps1.

You would need to have the latest version of VS Code installed.

Then bring up the Debug view, click on the Debug icon in the Activity Bar on the side of VS Code. You can also use the keyboard shortcut Ctrl+Shift+D.

Activity Bar

Clone the GitHub repository

$ git clone --recursive https://github.com/microrealestate/microrealestate.git

Go to the microrealestate

$ cd microrealestate

Launch the application in development mode:

$ ./mre dev

Next, go to the debug bar:

Activity Bar

Then select one of these values to attach the VS Code debugger to the application:

  • Docker: Attach to API (Exposes the UI API and core engine)
  • Docker: Attach to Authenticator (Handles the authentication)
  • Docker: Attach to Emailer (Sends emails)
  • Docker: Attach to PdfGenerator (Generates PDF documents)

For more information about VS Code debugging go here