Middleware configuration โ
The middleware is an Express.js server. The server connects the web app and PlentyONE system. To connect to a system, you have to provide the API endpoint. Additionally, you have add a security token for authentication.
INFO
In the local development environment, the app connects to the provided URL. In production, it connects to the system that hosts the app.
Environment file โ
Create a .env
file in the apps/web
directory.
Endpoint information โ
To access the environment information of your system, carry out the following steps:
- Log into your PlentyONE system.
- Go to CMS ยป Deployment.
- Copy (๐) the environment information to your clipboard.
- Paste the environment information into your
.env
file.
TIP
To view detailed environment information in PlentyONE, go to CMS ยป Deployment, open the further actions menu and click on โน๏ธ View environment information.
For additional details, refer to the following guide: