-
Create MongoDB using the csv files. One collection per file. Define database schema. Data is given in Here
-
Create end-point to add new entry
Input format
{ "movie_id" : String, "title" : String, . . . "budget" : Number, "genres" : Array, "homepage" : Array, . . . "vote_average" : Number, "vote_count" : Number }
-
Create end-pont which populates profit earned by production house in a given year. Here profit is calculated as [Revenue - Budget].
Output format
{ "<name of production_company_1>" : <profit_1>, "<name of production_company_2>" : <profit_2>, . . . "<name of production_company_n>" : <profit_n> } Note: Assume, Revenue and Budget are ditributed equaly over all production companies for a given movie.
-
Notifications
You must be signed in to change notification settings - Fork 0
sid18996/MonogoDB-Query-App
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A node.js application to perform datbase query
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published