Answer the question
In order to leave comments, you need to log in
How to connect a database to Vk Mini Apps?
Would like a JSON or mongoDB database. Tell me how to connect it. I'm not really into this at all.
Answer the question
In order to leave comments, you need to log in
You won't be able to connect the database directly to React because it's a client side. In this case, you should have a server part, for example, written in node.js, which receives data from the database and returns it to the client (your application). The connection can be established via websocket, or send ajax requests.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question