Linking a project with a database


I’m new here, so I don’t know how everything work yet.
I previously did a configurator that I’d like to reproduce on playcanvas.
In that configurator I used a database to list all part of the model, with info about price, exception, etc.

I used phpmyadmin and was wondering how to access that database through Playcanvas?
How do I start approaching this?

This is my first day using PlayCanvas, so dont go light on details.

Ultimately, you will need to create some way to get the data from that database as you can’t connect directly from client side JS and HTML AFAIK.

If you can create some sort of REST API layer that the Javascript or HMTL in the configurator can use, that would be the way to go.

How did you go about it in your original configurator?