A12: Product reviews
This assignment helps you practice with NoSQL database systems, specifically MongoDB. You will set up the database to store product reviews.
Use MongoDB to create a product review database. You may use PHP, as shown in the MongoDB notes, or some other language. Support the following features:
- Listing products. Show the average score for each product in the listing, as well as its title and description. Also show the # of reviews, with a link to read all reviews.
- Show a single product, with all its reviews (and each review’s score).
- Support writing a new review, with a score, for a particular product.
You do not need to support product creation or deletion or updating. Likewise, you do not need to support changing or deleting reviews. You should create all the products ahead of time, perhaps using the
mongo command line program.
Like assignment A10, write your code on londo
Do not run the submit script. I will look at your code in
/var/www/html/cinf201fa2016/yourusername. I will also look at your site in my browser.