Skip to content

A back-end API for an example retail company where a manger can manage company products. (HW11)

Notifications You must be signed in to change notification settings

hbarry89/E-Commerce-Back-End

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce-Back-End

Description

  • The purpose of this repository is for a manager at an internet retail company to use a back end for my e-commerce website that uses the latest technologies for their company to compete with other e-commerce companies.
  • This is done by building the back end for an e-commerce site by modifying starter code. Configure a working Express.js API to use Sequelize to interact with a MySQL database.

Usage

  • Click here for a video demo of this application.

In order to start the server and sync Sequelize models to the MySQL database:

  • In MySQL Shell (in db folder level), enter the following command:
  1. To create database:

source schema.sql

  • In server level terminal, enter the following commands:
  1. To seed database with test data:

npm run seed

  1. To invoke the application:

npm run start


Credit

Resources 📚

  • Bootcamp Materials
  • Unit 13 Mini-Project
  • Sequelize Documentation: Associations and Validations & Constraints
  • Demonstration by TA in class
  • Insomnia file was provided by TA in class that has testing examples for all methods to all models + route URLs.
  • Tutor

Assets ✨

Applications Used ⚙️

  • VS Code
  • Insomnia
  • Screencastify

Thank you for visiting! 🎀

About

A back-end API for an example retail company where a manger can manage company products. (HW11)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published