- Description
- Installation
- Usage
- Contributing
- Tests
- Walkthrough video
build the back end for an e-commerce site. You’ll take a working Express.js API and configure it to use Sequelize to interact with a MySQL database
Ensure you are in the develop directory, type npm run seed then npm start
A working backend of an e-commerce site
Support from TA's Github users youtube tutorials
Tested the GET, PUT, POST and DELETE routes numerous times
This application allows the user to create a preset database and then connect to it via API calls and perform operations on the different entries.
There are tables for:
- Categories
- Products
- Tags
The user can perform various CRUD operations on these tables via API calls:
- GET routes to return all categories, all products, and all tags
- GET routes to return a single category, single product, and single tag
- POST routes to create a new category, new product, and new tag
- PUT routes to update a product tag id and update a category or tag name
- DELETE routes to delete a single category, single product, and single tag
- Create schema from MySQL shell
- npm run seed
- npm start
- Then show Get routes
- Video link : "https://drive.google.com/file/d/1ZzJ37h5ojAHfJ5Bl4MsTMl1NjtkRtM1x/preview