Node.js app that uses Express, Sequelize, and MySQL to create an API for managing a sample e-commerce database. Starter code provided at the beginning the assignment. I created the database, Sequelize routes, Sequelize models. Tested and troubleshooted API functions using Insomnia.
You begin by running npm install to install Node dependencies. Then create a MySQL database (default ecommerce_db). Next execute the command npm run seed to seed the database with data. Then run npm start to run the API.
You can use the app with standard GET, POST, PUT, and DELETE HTTP requests. The API uses JSON to format data.
Anyone is welcome to contribute and suggest improvements.
The best way to test the app is with a program like Insomnia. I used Insomnia to test this app and each route functions as intended.
For this app, I recorded a video demonstration. Please view the video here.
Copyright (c) Sam Gates. All rights reserved. Licensed under the MIT license.
Check out my GitHub Profile.
Email with questions! You can reach me at [email protected].