Assignment from The Iron Yard-Austin
Week 7 - day 27
Use parse to store and query product information.
After completing this assignment, you should…
- Understand how to post data with parse.
- Understand how to query data with parse.
After completing this assignment, you be able to effectively use
- Parse.Object.extend
- Parse.Query
- .save(...)
- A repo containing at least:
scripts/main.js
index.html
- No ESLint warnings or errors
Fork and clone this repository. After cloning, cd into the new directory and run the tiyfe command.
You will need to add your own parse API tokens using Parse.initialize(...)
in the scripts/main.js file in order for this code to work.
- Update the AddProductComponent to save product information to parse when the form is submitted.
- Implement the BooksComponent, ClothingComponent and ElectronicsComponent to list out a table of all of the products that match the corresponding category.
- Newest: Add a new page that lists the 10 newest products added to the system.
- Cheapest: Add a new page that lists the 10 cheapest products in the database.
- Search: Add the ability to search for a product by name.
- Pagination: Instead of listing all of the products on the category pages, instead add pagination so that the page lists 10 at a time and allows you to go to different pages of results.