Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Object-Relational-Mapping-Homework

The goal of this assignment was to create a back end for an ecommerce site using mysql and sequelize along with insomnia.

Steps Taken

Step 1

  • Ran npm init to initialize project and npm install to install necessary packages.

Step 2

  • Created connection.js file to configure database connection and used sequelize to create connection with stored credentials in .env file.

Step 3

  • Created models for category, product, tag, and prodcut tag.

Step 4

  • Created api routes for models and implemented CRUD operations for each route.

Step 5

  • Created seed script to populate database with the initial data

Step 6

  • In server.js, configured sequelize to sync models to the mysql database on server start.

Step 7

-screencastify video link; https://drive.google.com/file/d/1eJGS75EX5qLnxn9WV9Bn5tNXnGVkEaMF/view

Note: Got assistance from one of my Friend and used chatgpt and google for some questions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages