Skip to content

Node.js app that uses Express, Sequelize, and MySQL to create an API for managing a sample e-commerce database. Starter code provided. I created the database, Sequelize routes, Sequelize models. Tested and troubleshooted API functions using Insomnia Core.

Notifications You must be signed in to change notification settings

sgatesdev/13_ORM-ECommerce-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECommerce Backend (Node App)

License badge

Description

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.

Table of Contents

Installation

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.

Usage

You can use the app with standard GET, POST, PUT, and DELETE HTTP requests. The API uses JSON to format data.

Screenshot 1 Screenshot 2 Screenshot 3

Contribute

Anyone is welcome to contribute and suggest improvements.

Test

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.

Video

For this app, I recorded a video demonstration. Please view the video here.

License

Copyright (c) Sam Gates. All rights reserved. Licensed under the MIT license.

Questions

Check out my GitHub Profile.

Email with questions! You can reach me at [email protected].

About

Node.js app that uses Express, Sequelize, and MySQL to create an API for managing a sample e-commerce database. Starter code provided. I created the database, Sequelize routes, Sequelize models. Tested and troubleshooted API functions using Insomnia Core.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published