Skip to content

daygot/TBMDB-v2

Repository files navigation

This is a lightweight database carrying data about movies, actors, and directors.

  1. Requirements document: TBMDB_Requirements.pdf

  2. Hiearchical Tables: Hiearchical_Tables.pdf

  3. Collections: Main_Movie_Collection.pdf Check movies.json for sample movies documents that would be inserted to the database.

  4. Data dump: movies.json and people.json. To initialize your database with these data points:

a. create a JavaScript script that connects to your instance of MongoDB (locally or via Mongo Atlas), for example, if you are using a local instance:

mongo TBMDB your_script_name.js

b. in your_script_name.js, include the following commands: i. db.movies.insertMany(movies) ii. db.people.insertMany(people)

where movies and people are data coming from movies.json and people.json. File I/O can be done with the readAsText() method.
  1. Queries: Queries.pdf

  2. Download this repository, then run the following commands: a. npm install b. npm run start

then point your browser to localhost:3000.

UML Diagram: UML

ERD Diagram: ERD

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors