|
2 | 2 |
|
3 | 3 | # Microrealestate
|
4 | 4 |
|
5 |
| -Microrealestate is a set of microservices which work together to offer an open source application for property management. |
| 5 | +## Features |
6 | 6 |
|
7 |
| -This application draws its fundamentals from a monolithic application: [Loca](https://github.com/camelaissani/loca) |
| 7 | +This project is a set of services and a web application to help the landlords manage their properties: buildings, flats, offices, meeting rooms, car parks, letter boxes... |
8 | 8 |
|
9 |
| -The first objective is to combine the monolith application and the microservices to provide new functionalities. |
| 9 | +The main functionalities of this project are: |
10 | 10 |
|
11 |
| - |
| 11 | +- Gather all information of the properties and the tenants in one place |
| 12 | +- Create rent leases from templates |
| 13 | +- Follow the rents month after month and manage the recovery of the amounts not received |
| 14 | +- Create custom documents (letters, emails) to easily communicate with tenants |
| 15 | +- Manage the real estate business with several collaborators and organizations |
12 | 16 |
|
13 |
| -| µService | Description | Status | |
14 |
| -| :-------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------- | :-------------: | |
15 |
| -| Alert | Sends alert messages based on business rules (contract deadlines, unpaid rents...) | Not available | |
16 |
| -| API Gateway | [NGINX](https://github.com/microrealestate/authenticator.git) | Available | |
17 |
| -| [Authenticator](https://github.com/microrealestate/authenticator) | Handles login/logout and tokens management | Dev in progress | |
18 |
| -| cAdvisor | [Container Advisor](https://github.com/google/cadvisor) | Available | |
19 |
| -| Elastic Stack | [Elasticsearch Logstash Kibana](https://www.elastic.co//products) handles logs and monitors containers and hosts | Available | |
20 |
| -| [EMailer](https://github.com/microrealestate/emailer) | Generates and sends emails with [mailgun](https://www.mailgun.com/) | Available | |
21 |
| -| [Loca](https://github.com/camelaissani/loca) | The web application | Available | |
22 |
| -| Messages | message broker | Not available | |
23 |
| -| [PDFGenerator](https://github.com/microrealestate/pdfgenerator) | Generates PDF documents (letters, contracts, invoices...) | Available | |
24 |
| -| Text | Generates and texts (cash balance, alerts...) | Not available | |
| 17 | +## Screenshots |
25 | 18 |
|
| 19 | + Rents page | Send notices, receipt by email | Pay a rent | |
| 20 | +:-------------------------:|:-------------------------------:|:----------------------:| |
| 21 | +[<img src="./picture/rents.png" alt="drawing" width="350"/>](./picture/rents.png) | [<img src="./picture/sendmassemails.png" alt="drawing" width="350"/>](./picture/sendmassemails.png) | [<img src="./picture/payment.png" alt="drawing" width="350"/>](./picture/payment.png) |
| 22 | + |
| 23 | + Tenants page | Tenant details | |
| 24 | +:-------------------------:|:------------------------------:| |
| 25 | +[<img src="./picture/tenants.png" alt="drawing" width="350"/>](./picture/tenants.png) | [<img src="./picture/tenantcontract.png" alt="drawing" width="350"/>](./picture/tenantcontract.png) |
| 26 | + |
| 27 | + Properties page | Property details | |
| 28 | +:-------------------------:|:------------------------------:| |
| 29 | +[<img src="./picture/properties.png" alt="drawing" width="350"/>](./picture/properties.png) | [<img src="./picture/property.png" alt="drawing" width="350"/>](./picture/property.png) |
| 30 | + |
| 31 | + |
| 32 | + Landlord page | Template leases | Author a contract | Members | |
| 33 | +:-------------------------:|:------------------------------:|:---------------------------:|:------------------------------:| |
| 34 | +[<img src="./picture/landlord.png" alt="drawing" width="350"/>](./picture/landlord.png) | [<img src="./picture/leases.png" alt="drawing" width="350"/>](./picture/leases.png) | [<img src="./picture/contracttemplate.png" alt="drawing" width="350"/>](./picture/contracttemplate.png) | [<img src="./picture/members.png" alt="drawing" width="350"/>](./picture/members.png) |
26 | 35 |
|
27 |
| -In a second stage, the monolith application will be broken in microservices. |
28 | 36 |
|
29 | 37 | ## Getting started
|
30 | 38 |
|
@@ -56,37 +64,25 @@ $ ./mre start
|
56 | 64 | At the end, it displays the application links:
|
57 | 65 |
|
58 | 66 | ```shell
|
59 |
| -Front-end http://localhost:8080 |
60 |
| -kibana http://localhost:9000 |
61 |
| -cadvisor http://localhost:9100 |
| 67 | +Front-end http://localhost:8080/app |
| 68 | +Deprecated Front-end http://localhost:8080 |
62 | 69 | ```
|
63 | 70 |
|
64 | 71 | ### Run the user interface
|
65 | 72 |
|
66 |
| -Take your favorite internet navigator and go to this link: http://localhost:8080 |
67 |
| - |
68 |
| -## Debugging the application |
69 |
| - |
70 |
| -You would need to have the latest version of [VS Code](https://code.visualstudio.com/) installed. |
| 73 | +Take your favorite internet navigator and go to this link: http://localhost:8080/app |
71 | 74 |
|
72 |
| -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`. |
73 |
| - |
74 |
| - |
75 |
| - |
76 |
| -In a terminal launch the application in development mode: |
77 |
| - |
78 |
| -```shell |
79 |
| -$ ./mre dev |
80 |
| -``` |
| 75 | +## Community |
81 | 76 |
|
82 |
| -Next, go to the debug bar: |
| 77 | +* Contribute on [Issues](https://github.com/microrealestate/microrealestate/issues) |
| 78 | +* [Run and debug the application](./DEVELOPER.MD) |
83 | 79 |
|
84 |
| - |
| 80 | +## Contact |
85 | 81 |
|
86 |
| -Then select one of these values to attach the VS Code debugger to the application: |
| 82 | +* LinkedIn: [www.linkedin.com/in/caissani](https://www.linkedin.com/in/caissani/) |
| 83 | +* twitter: [@camelaissani](https://twitter.com/camelaissani) |
| 84 | +* website: https://www.nuageprive.fr/ |
87 | 85 |
|
88 |
| -- `Docker: Attach to Loca` (The web application) |
89 |
| -- `Docker: Attach to Emailer` (Generates and sends emails) |
90 |
| -- `Docker: Attach to PdfGenerator` (Generates PDF documents) |
| 86 | +## License |
91 | 87 |
|
92 |
| -For more information about VS Code debugging go [here](https://code.visualstudio.com/Docs/editor/debugging#_debug-actions) |
| 88 | +MIT License |
0 commit comments