Better Botz 2 - Creating an Express Server with Astra
In this tutorial, we will configure an Express backend server on Node.js for Better Botz's online ordering application using a DataStax Astra database. We will install Node.js and the DataStax Node.js driver, download the secure connect bundle for your Astra database, and then configure the driver to use that bundle when connecting to your Astra database. After establishing that connection, we can use the Node.js driver as our conduit for getting data in and out of the database. We will also create a barebones project to work from, modify the layout.jade template, and review results in a browser to ensure that the server is working. In the next post, we'll add data to the orders table and create a new table to track which orders are shipping and which have already shipped.
Company
DataStax
Date published
March 16, 2020
Author(s)
Adam Locke
Word count
804
Language
English
Hacker News points
None found.