Skip to content

mlab-lattice/example-petflix-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Petflix Service

This is the API for the Petflix application. It serves metadata about animal videos so the client can render them.

Setup

$ npm i

This service connects localhost:27017/test or the database in the MONGODB_URI environment variable. This database should have a petflix collection with the data in seed-data.json.

$ mongoimport -h <host> -d <dbname> -c petflix -u <username> -p <pass> --jsonArray --file seed-data.json

Running

node index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published