This project consisted of working on the back-end of an e-commerce website that uses Sequelize to interact with a MySQL database. After connecting to the database with Sequelize, users can enter the schema and seed commands which will create and seed a development database. After users start the server they can use Insomnia to test out the GET routes for categories, products, or tags which will display the data for each category in formatted JavaScript Object Notation (JSON). Users can test API POST, PUT, and DELETE routes in Insomnia which will create, update, and delete data in the database. This application is not deployed and its functionality can be seen in the video link below.
To be able to use this application users should clone the repo in a folder and open the application using their terminal. From the root directory of the application users must run “npm i” in their terminal which will install the dependencies needed to run this application.
Users must first seed the database; after installing dependencies users must type in “npm run seed” in their terminal. Once users have seeded the database users can enter “npm run start”.
I was given starter code from the UC Berkley Fullstack Coding Bootcamp. I was able to complete this project using Kayvon Kazemi’s, TA at the bootcamp, challenge review video that covered how to get started on this challenge.
Please refer to the repo.