This project is useful for developers exploring the Dolibarr API in a docker container. The network also has a separate webserver for applications development and communcations with Dolibarr for business entity data. Developers can use this network as a testbench for api calls and application data exchanges.
The application container serves a webpage form to collect end-user data, then pass data with parameters to Dolibarr. A return page is provided with information about the processing of data sent via the form. Javascript is used as a frontend for the application alone with some minor CSS.
- Download or pull a branch, install on a local computer.
- Download the 'Products' spreadsheet located in the 'data' directory
- Navigate to the working directory where the files are located
- Run this: docker compose -f docker-compose.yaml up
- Open a browser to url: http://localhost
Once installed and logged in, navigate to Setup - Company, then enter company information. Also activate the following Dolibarr Modules:
- Third-Party
- Commercial Proposals
- REST API Module
- Products
- Services
- Import Data
- Export Data
Final setup is to navigate to the Import Module and import products from the previously downloaded spreadsheet by following the import wizard instructions.
Open a browser tab to: http://localhost:591
A form should display. A result screen should display upon submission of the form.