This is challenge 13 in the UC Berekely Full Stack Dev Bootcamp. In this challenge we are to build the backend for an ecommerce site. We'll create the database models (category, product, tag, and product tags), associations between them, and fill out the API routes to perform CRUD operations.
Starter code from the bootcamp, and Express.js, Sequelize, and MySQL.
The free version of Screencastify cuts off at 5min, as such, with a ~6 min film, the demonstration video is in two parts:
Part 1 - Everything required in the complete list of video requirements through POST, PUT, and DELETE for tags
https://drive.google.com/file/d/1yUtdxMF0h2qLYlZFa3IaIAjrn3krP9xr/view (4:57)
Part 2 - POST, PUT, and DELETE for tags
https://drive.google.com/file/d/127QVT0K76yfIQdK925BqOCP0dZWUR2PB/view (1:20)
I had some trouble pushing to git when I reverted some of the files to the starter code in an attempt to get the Product and Tag models and routes working. Error message was:
ERROR: Permission to coding-boot-camp/fantastic-umbrella.git denied to cupcakesprinkle3.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
To workaround this issue, I renamed my old repo to old-ecommerce-backend, created a new repo called ecommerce-backend. As a result there are fewer commits to this repo than the total number for the whole challenge. You can find additional commits to this project on the old repo: https://github.com/cupcakesprinkle3/old-ecommerce-backend