[英]Fetch data from localhost cassandra db in react clientside
I am looking to get data from a localhost cassandra database in my react web application.我希望从我的 React Web 应用程序中的本地主机 cassandra 数据库获取数据。 I have looked around and I have not found a solution to this, and the npm driver package is designed to be run in the back end, not the front end.我环顾四周,没有找到解决方案,并且 npm 驱动程序包旨在运行在后端,而不是前端。
How can I get data from the cassandra database into my react web application?如何从 cassandra 数据库获取数据到我的 React Web 应用程序中?
Thanks谢谢
We have fully-working sample React apps here that are built on JAMStack + Netlify on Astra (Cassandra-as-a-service) with the complete code for free.我们这里有完整的示例 React 应用程序,这些应用程序构建在Astra上的 JAMStack + Netlify(Cassandra 即服务)上,并免费提供完整的代码。 Cheers!干杯!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.