This is a sample built to showcase the use of latest Cosmos DB Javascript SDK v2.0 . We will be using a simple react application with static page serving using [serve] npm module.
npm install @azure/cosmos
Open the VisualStudio Code Terminal
npm run build
The build folder is ready to be deployed. You may serve it with a static server:
npm install -g serve
serve -s build
Serving! │
│ │
│ - Local: http://localhost:5000 │
│ - On Your Network: http://10.0.75.1:5000