Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:start [2025/09/03 06:35] – Automatic push translation caprel | en:start [2025/09/03 14:40] (current) – Automatic translation caprel | ||
---|---|---|---|
Line 9: | Line 9: | ||
It all started at a dolibarr devcamp and gave rise to a GIFF which, unfortunately, | It all started at a dolibarr devcamp and gave rise to a GIFF which, unfortunately, | ||
- | Dolibarr is an open source project and we believe that we need to offer a decentralised alternative | + | Dolibarr is an open-source project and we believe that we need to offer our users a decentralised alternative so that they are not locked into the GAFAM ecosystems. So a PWA application |
- | DoliMobile is a project supported by CAP-REL (preferred dolibarr partner) that is completely open and we hope to see as many things as possible integrated into the Dolibarr project. | + | DoliMobile is a CAP-REL (preferred dolibarr partner) |
## Backoffice (PHP) | ## Backoffice (PHP) | ||
DoliMobile proposes the use of APIs on the backoffice side to make accessible the elements that the front application would need. | DoliMobile proposes the use of APIs on the backoffice side to make accessible the elements that the front application would need. | ||
- | |||
- | |||
### Authentication | ### Authentication | ||
The authentication stack is detailed in the SmartAuth project: https:// | The authentication stack is detailed in the SmartAuth project: https:// | ||
- | In a few words, you'll find out why we don't think dolibarr' | + | In our opinion, dolibarr' |
- | + | ||
- | Note: The content of the SmartAuth project is intended to be integrated into the core of dolibarr, or at least we hope to see a solution covering the same functional scope arrive in the core. | + | |
+ | Note: The content of the SmartAuth project has been designed to be integrated into the heart of dolibarr, or at least we hope to see a solution covering the same functional scope in the heart of dolibarr. | ||
+ | . | ||
### Business API for your application | ### Business API for your application | ||
Line 42: | Line 40: | ||
So the following line in the router | So the following line in the router | ||
- | ``` | + | PHP |
Route:: | Route:: | ||
``` | ``` | ||
Line 48: | Line 46: | ||
Implements the "GET /home" method and calls the " | Implements the "GET /home" method and calls the " | ||
+ | The `HomeController` class is simply implemented in the `./ | ||
## Front in react | ## Front in react | ||
- | The front end is developed in react and many ready-to-use objects are available. | + | The front end is developed in react and a number of ready-to-use objects are available. |
+ | |||
+ | Note: If you've never set foot in the world of mobile development: | ||
+ | |||
+ | ## Complementary tools | ||
+ | |||
+ | DoliMobile comes with a number of additional tools, including a Makefile that will make ' | ||
+ | |||
+ | Instead of having to run complicated commands, we've grouped everything together in the Makefile, which lets you run simpler commands. Make is able to check a number of things and automate actions a bit like a script. | ||
+ | |||
+ | So, for example, to compile the pwa mobile application and launch it in developer mode, you can just run the command | ||
+ | |||
+ | `> make pwadev` | ||
+ | |||
+ | For more details, have a look at the Makefile.dist file | ||
+ | |||
+ | Note: If you have " |