Skip to content

Latest commit

 

History

History

mongodb-movies

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Sample - MongoDB Movies

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

Setup

  • 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

# run a dev server
$ npm run dev

# build and deploy to production
$ npm run build
$ npm run deploy

Resources