Fetch a movie database with the ScaleDynamics WarpJS SDK and MongoDB driver for Node.js.
On this sample, we fetch movies from the Sample Mflix Dataset provided by MongoDB Atlas.
👉 Try a live demo
- Clone the project
- Go to the
warp-samples/mongodb-movies
directory - Run the following commands:
# install deps
$ npm install
# login to ScaleDynamics
$ npx warp login
# run a dev server
$ npm run dev
# build and deploy to production
$ npm run build
$ npm run deploy