Create a data model for your chosen topic to consist of a single collection (note: a collection in MongoDB is like a table in a relational database) but with at least four attributes/fields

computer science

Description

1. Please select a topic of interest to you (e.g., recipes, movies, video games, mobile apps, etc. – whatever is of interest to you). Note: Other than “Recipes”, you cannot use a topic that was used for class exercises, assignments, quizzes, or exams.


 2. Create a data model for your chosen topic to consist of a single collection (note: a collection in MongoDB is like a table in a relational database) but with at least four attributes/fields (i.e., the minimum requirement is 4 but you can have more fields/attributes if you desire). Note: the data “model” here is just a list of the attributes, their data type, and whether they are required or not (in your case, all the attributes should be required). For example, the following Wikipedia page of “List of Actor Politicians” would meet the requirements (data has for fields: Actor-politician, Acting career, Political party, and Political career (https://en.wikipedia.org/wiki/List_of_actorpoliticians). Depending on your topic of interest there are lots of sources of data on the Internet. Furthermore, you use Ajax to get data from APIs and then store that data in your database. The following link provides a list of public APIs from which you could get data using Ajax:


Related Questions in computer science category