Join the Webstudio community

Updated 2 months ago

Adding Download Counter to WebStudio

At a glance

The community member is asking how to add a text that displays the number of downloads from a button on a web application, and how to connect it to the backend. The comments suggest that the community member needs to have two CRUD actions: 1) a POST request to add the download to the database, and 2) a GET request to retrieve the total number of downloads. The comments also mention that the community member could bind the download count to the backend if they already have the data available.

who know how to add like a text that shows the amount of downloads from a button on webstudio, like how do i connect it to the backend
M
P
3 comments
Could you be precise? You have the amount of downloads on your backend? If so, you just have to bind it
Like if someone clicks the download button it like adds a updates the download number in a database like mongodb then also displays the amount of downloads
All right you need to have 2 CRUD actions :
1 POST to add the like to your DB and 1 GET to get all your downloads number
Add a reply
Sign up and join the conversation on Discord