This application was created to establish a Back-end for an e-commerce website utilizing the latest technologies to remain competitive. This project utilizes MySQL, npm libraries, and insomnia to perform CRUD operations to the database. To allow the user to utilize the following functions on Categories, Products, and Tags:
- GET all
- GET 1 by ID
- CREATE
- UPDATE
- DELETE by ID
After downloading this file, run command "npm i" in your terminal to install the npm libaries.
Upon downloading the file, use the following commands:
- mysql -u root -p
- "enter password"
- source db/schema.sql
- quit
- npm run seed
- npm start
Upon completion of these in the terminal, you can use insomnia to perform CRUD operations to the models using the appropriate routes. Images Below:
Here's a video walkthrough on how to use it: https://drive.google.com/file/d/1Pi5KlrGD_QrBSJYlYuZQiJpuh_gi5Zri/view
- Jordan Heidlage https://github.com/jordanheidlage jheidlage6@gmail.com
- Instructional staff of The Ohio State University